[git commit master] test/Rules.mak: disable -z,defs for now
Austin Foxley
austinf at cetoncorp.com
Fri Apr 23 14:31:55 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=be56fe7569cff28a9003a5e5ca7f8ca17dfb1d90
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
* A bunch of the nptl tests don't compile when -z,defs is on
* also turn on -std=gnu99 for the HOSTCC (_glibc) compiles
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
test/Rules.mak | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/Rules.mak b/test/Rules.mak
index 6acc13f..7c15bae 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -63,9 +63,9 @@ CFLAGS += $(OPTIMIZATION) $(CPU_CFLAGS) $(XWARNINGS)
# Can't add $(OPTIMIZATION) here, it may be target-specific.
# Just adding -Os for now.
-HOST_CFLAGS += $(XCOMMON_CFLAGS) -Os $(XWARNINGS)
+HOST_CFLAGS += $(XCOMMON_CFLAGS) -Os $(XWARNINGS) -std=gnu99
-LDFLAGS := $(CPU_LDFLAGS-y) -Wl,-z,defs -Wl,-z,now
+LDFLAGS := $(CPU_LDFLAGS-y) -Wl,-z,now
ifeq ($(DODEBUG),y)
CFLAGS += -g
HOST_CFLAGS += -g
--
1.6.3.3
More information about the uClibc-cvs
mailing list