Explorar el Código

be sure to use EXTRA_CFLAGS for tests, too

Waldemar Brodkorb hace 10 años
padre
commit
4131f1dae5
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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