diff options
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/testsuite/Makefile.in | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog index 210f06fd8..1260049de 100644 --- a/winsup/testsuite/ChangeLog +++ b/winsup/testsuite/ChangeLog @@ -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. 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 |