From d8f0f146b8befe92d951c5e5907d41e23f376679 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 23 Jan 2003 21:14:56 +0000 Subject: * Makeifle.in: Use ALL_CFLAGS to build test programs so that correct libraries and other options are used. --- winsup/testsuite/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/testsuite/Makefile.in') 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 -- cgit v1.2.3