Browse Source

be sure to use EXTRA_CFLAGS for tests, too

Waldemar Brodkorb 10 years ago
parent
commit
4131f1dae5
1 changed files with 6 additions and 0 deletions
  1. 6 0
      test/Rules.mak

+ 6 - 0
test/Rules.mak

@@ -115,6 +115,12 @@ ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
 LDFLAGS += $(CFLAG_-Wl--hash-style=gnu)
 endif
 
+ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
+CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS))
+endif
+ifneq ($(strip $(UCLIBC_EXTRA_LDFLAGS)),"")
+LDFLAGS += $(call qstrip,$(UCLIBC_EXTRA_LDFLAGS))
+endif
 
 ifneq ($(findstring -s,$(MAKEFLAGS)),)
 DISP := sil