* Makeifle.in: Use ALL_CFLAGS to build test programs so that correct libraries

and other options are used.
This commit is contained in:
Christopher Faylor 2003-01-23 21:14:56 +00:00
parent 2d771b3dd9
commit d8f0f146b8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-23 Christopher Faylor <cgf@redhat.com>
* Makeifle.in: Use ALL_CFLAGS to build test programs so that correct
libraries and other options are used.
2003-01-22 Corinna Vinschen <corinna@vinschen.de>
* cygrun.c: Move here from ../cygwin.

View File

@ -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