OSDN Git Service

test/Rules.mak: disable -z,defs for now
authorAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 04:48:59 +0000 (20:48 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 04:48:59 +0000 (20:48 -0800)
* 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>
test/Rules.mak

index 6acc13f..7c15bae 100644 (file)
@@ -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