OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80ef6b
)
when running shared tests, use the toplevel ldso
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 14 Jul 2005 04:16:21 +0000
(
04:16
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 14 Jul 2005 04:16:21 +0000
(
04:16
-0000)
test/Rules.mak
patch
|
blob
|
history
diff --git
a/test/Rules.mak
b/test/Rules.mak
index
63e5cdd
..
20000cc
100644
(file)
--- a/
test/Rules.mak
+++ b/
test/Rules.mak
@@
-77,7
+77,7
@@
XWARNINGS = $(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes
XARCH_CFLAGS = $(subst ",, $(strip $(ARCH_CFLAGS)))
CFLAGS = $(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS)
GLIBC_CFLAGS += $(XWARNINGS) $(OPTIMIZATION)
-LDFLAGS =
+LDFLAGS =
ifeq ($(DODEBUG),y)
CFLAGS += -g
@@
-94,4
+94,6
@@
endif
ifneq ($(strip $(HAVE_SHARED)),y)
LDFLAGS += -static
GLIBC_LDFLAGS += -static
+else
+ LDFLAGS += -Wl,-dynamic-linker,$(TOPDIR)lib/ld-uClibc.so.0
endif