aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2002-12-11 04:00:09 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2002-12-11 04:00:09 +0000
commitd03be79e9bcc316272f75e4eeda9b55102dc7dee (patch)
tree68cc9d85b8f823aae5905f3a5664189fabb64d2c /Makefile.tpl
parent85a6d8d39b38b864ba0a9b1fb74f0400a89357bc (diff)
downloadgdb-d03be79e9bcc316272f75e4eeda9b55102dc7dee.zip
gdb-d03be79e9bcc316272f75e4eeda9b55102dc7dee.tar.gz
gdb-d03be79e9bcc316272f75e4eeda9b55102dc7dee.tar.bz2
2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Substitute more autoconfily. * configure: Substitute more autoconfily. * Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 8a9284e..3de524c 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -112,7 +112,7 @@ INSTALL_DATA = $(INSTALL) -m 644
AS = @AS@
AR = @AR@
AR_FLAGS = rc
-CC = cc
+CC = @CC@
# Special variables passed down in EXTRA_GCC_FLAGS. They are defined
# here so that they can be overridden by Makefile fragments.
@@ -120,9 +120,8 @@ BUILD_CC = $(CC_FOR_BUILD)
BUILD_PREFIX = @BUILD_PREFIX@
BUILD_PREFIX_1 = @BUILD_PREFIX_1@
-# These flag values are normally overridden by the configure script.
-CFLAGS = -g
-CXXFLAGS = -g -O2
+CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
LDFLAGS =
LIBCFLAGS = $(CFLAGS)
@@ -137,7 +136,7 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
PICFLAG =
PICFLAG_FOR_TARGET =
-CXX = c++
+CXX = @CXX@
# Use -O2 to stress test the compiler.
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates