OSDN Git Service

be sure to use EXTRA_CFLAGS for tests, too
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 30 Dec 2014 21:25:59 +0000 (22:25 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 30 Dec 2014 21:25:59 +0000 (22:25 +0100)
test/Rules.mak

index 805a349..c5d1d63 100644 (file)
@@ -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