Explorar o código

be sure to use EXTRA_CFLAGS for tests, too

Waldemar Brodkorb %!s(int64=10) %!d(string=hai) anos
pai
achega
4131f1dae5
Modificáronse 1 ficheiros con 6 adicións e 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