aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-06-16 19:46:12 +0000
committerIan Lance Taylor <ian@airs.com>1997-06-16 19:46:12 +0000
commit572728c6f90dbeab734b6cffc59a2f63f21a2974 (patch)
tree84f05a6717bed59e02acd61f70f039606801c5e9 /Makefile.in
parenta86bf27a922c8cd9b24983d345a81559fcc3d803 (diff)
downloadgdb-572728c6f90dbeab734b6cffc59a2f63f21a2974.zip
gdb-572728c6f90dbeab734b6cffc59a2f63f21a2974.tar.gz
gdb-572728c6f90dbeab734b6cffc59a2f63f21a2974.tar.bz2
* configure: Set CFLAGS and CXXFLAGS, and substitute them into
Makefile. From Jeff Makey <jeff@cts.com>. * Makefile.in: Add comment for CFLAGS and CXXFLAGS.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 21fdd02..f1acf87 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,9 +62,10 @@ HOST_CC = $(CC_FOR_BUILD)
HOST_PREFIX =
HOST_PREFIX_1 = loser-
-# We don't specify -g -O because many compilers don't support -g -O,
-# and/or -O is broken in and of itself.
+# These flag values are normally overridden by the configure script.
CFLAGS = -g
+CXXFLAGS = -g -O2
+
LIBCFLAGS = $(CFLAGS)
CFLAGS_FOR_TARGET = $(CFLAGS)
LDFLAGS_FOR_TARGET =
@@ -79,7 +80,6 @@ CHILL_LIB = -lchill
CXX = c++
# Use -O2 to stress test the compiler.
-CXXFLAGS = -g -O2
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates