summaryrefslogtreecommitdiffstats
path: root/winsup/testsuite/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/Makefile.in')
-rw-r--r--winsup/testsuite/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in
index 9d48e1faa..863fe67f9 100644
--- a/winsup/testsuite/Makefile.in
+++ b/winsup/testsuite/Makefile.in
@@ -57,6 +57,7 @@ else
CFLAGS:=@CFLAGS@ -MD $(TESTSUP_INCLUDES)
endif
CXXFLAGS:=@CXXFLAGS@
+export ALL_CFLAGS
AR:=@AR@
AR_FLAGS:=qv
@@ -152,7 +153,7 @@ site.exp: ./config.status Makefile
@echo "set target_alias $(target_alias)" >> ./tmp0
@echo "set CC \"$(CC)\"" >> ./tmp0
# CFLAGS is set even though it's empty to show we reserve the right to set it.
- @echo "set CFLAGS \"\"" >> ./tmp0
+ @echo "set CFLAGS \"$(ALL_CFLAGS)\"" >> ./tmp0
echo "set tmpdir $(objdir)/testsuite" >> ./tmp0
@echo "set ltp_includes \"$(libltp_srcdir)/include\"" >> ./tmp0
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0