From 4131f1dae51993d4f3dbde91305cddc898094519 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 30 Dec 2014 22:25:59 +0100 Subject: be sure to use EXTRA_CFLAGS for tests, too --- test/Rules.mak | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3