Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-24 00:14:56 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-24 00:14:56 +0300
commitd8f0f146b8befe92d951c5e5907d41e23f376679 (patch)
treee93a2fc9e704597ddfb8299adc28a53df0ea8ee8 /winsup/testsuite
parent2d771b3dd90f1568d29044e7ce4055eb848c6ecf (diff)
* Makeifle.in: Use ALL_CFLAGS to build test programs so that correct libraries
and other options are used.
Diffstat (limited to 'winsup/testsuite')
-rw-r--r--winsup/testsuite/ChangeLog5
-rw-r--r--winsup/testsuite/Makefile.in3
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