Fix consistency error reported by Yotam Medini.

* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS.

From-SVN: r19392
This commit is contained in:
Jim Wilson 1998-04-23 21:33:41 +00:00 committed by Jim Wilson
parent aec373f1a1
commit 624411284f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Thu Apr 23 21:31:16 1998 Jim Wilson <wilson@cygnus.com>
* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS.
Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com> Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com>
* configure.in (target_makefile_frag): If --enable-target-optspace, * configure.in (target_makefile_frag): If --enable-target-optspace,

4
configure vendored
View File

@ -914,10 +914,10 @@ else
echo 'void f(){}' > conftest.c echo 'void f(){}' > conftest.c
if test -z "`${CC} -g -c conftest.c 2>&1`"; then if test -z "`${CC} -g -c conftest.c 2>&1`"; then
CFLAGS=${CFLAGS-"-g -O2"} CFLAGS=${CFLAGS-"-g -O2"}
CXXFLAGS=${CFLAGS-"-g -O2"} CXXFLAGS=${CXXFLAGS-"-g -O2"}
else else
CFLAGS=${CFLAGS-"-O2"} CFLAGS=${CFLAGS-"-O2"}
CXXFLAGS=${CFLAGS-"-O2"} CXXFLAGS=${CXXFLAGS-"-O2"}
fi fi
rm -f conftest* rm -f conftest*
break break