summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-23 21:33:41 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-23 21:33:41 +0000
commit2aabe804f2edb9ff165d90e9786cba8cd5627eb1 (patch)
tree6c0405e671a787cd4806377f74d0a6b111745c80 /configure
parent75c2fa8529e2d405a7c96549f7411fe3ad23233d (diff)
downloadgcc-2aabe804f2edb9ff165d90e9786cba8cd5627eb1.tar.gz
Fix consistency error reported by Yotam Medini.
* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 8b4e510d0bf..f8e6866065e 100755
--- a/configure
+++ b/configure
@@ -914,10 +914,10 @@ else
echo 'void f(){}' > conftest.c
if test -z "`${CC} -g -c conftest.c 2>&1`"; then
CFLAGS=${CFLAGS-"-g -O2"}
- CXXFLAGS=${CFLAGS-"-g -O2"}
+ CXXFLAGS=${CXXFLAGS-"-g -O2"}
else
CFLAGS=${CFLAGS-"-O2"}
- CXXFLAGS=${CFLAGS-"-O2"}
+ CXXFLAGS=${CXXFLAGS-"-O2"}
fi
rm -f conftest*
break