diff options
Diffstat (limited to 'test/Rules.mak')
-rw-r--r-- | test/Rules.mak | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index a84a7db2b..2131a7b18 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -64,9 +64,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 @@ -78,8 +78,7 @@ else endif ifneq ($(HAVE_SHARED),y) - LDFLAGS += -Wl,-static - HOST_LDFLAGS += -Wl,-static + LDFLAGS += -Wl,-static -static-libgcc endif LDFLAGS += -B$(top_builddir)lib -Wl,-rpath,$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib |