summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-11-29 20:48:59 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-11-29 20:48:59 -0800
commitbe56fe7569cff28a9003a5e5ca7f8ca17dfb1d90 (patch)
treece4aeaaf8a75652bf6ed278b19baf90fd501e534 /test
parentc77069f8cf411096ea633b567db77f90ca3ed761 (diff)
test/Rules.mak: disable -z,defs for now
* 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@cetoncorp.com>
Diffstat (limited to 'test')
-rw-r--r--test/Rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 6acc13ffa..7c15bae1f 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