Procházet zdrojové kódy

be sure to use EXTRA_CFLAGS for tests, too

Waldemar Brodkorb před 10 roky
rodič
revize
4131f1dae5
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  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