From be56fe7569cff28a9003a5e5ca7f8ca17dfb1d90 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Sun, 29 Nov 2009 20:48:59 -0800 Subject: 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 --- test/Rules.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Rules.mak') 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 -- cgit v1.2.3