summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-30 22:25:59 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-30 22:25:59 +0100
commit4131f1dae51993d4f3dbde91305cddc898094519 (patch)
tree05ce8409da09d035eadedfe0b4e0f83e7d6e6a24 /test/Rules.mak
parente762a60c733a668c11f9c8f8d997e7e34b8b9516 (diff)
be sure to use EXTRA_CFLAGS for tests, too
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 805a3498d..c5d1d636c 100644
--- a/test/Rules.mak
+++ b/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