summaryrefslogtreecommitdiff
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
commit7ec950759be3c5294974619fe53e715ec20f579c (patch)
tree5ea2735d9b743368733c7b420255a20da0b450d4 /Makefile.tpl
parent94fee903ed4d72e3da809b2a4017c300a414c18f (diff)
downloadgdb-7ec950759be3c5294974619fe53e715ec20f579c.tar.gz
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 8a9284ef164..3de524c0e3e 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