summaryrefslogtreecommitdiff
path: root/build-all.mk
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-06-04 21:13:33 +0000
committerIan Lance Taylor <ian@airs.com>1993-06-04 21:13:33 +0000
commite87f924337aee68349d7d1158609fbf690fec4a2 (patch)
treeafbe279cbd4bb0dbd030c8ebe28569a1c7037d21 /build-all.mk
parent2f2831f03042cfbb4859df4279b1d34733470f28 (diff)
downloadbinutils-gdb-e87f924337aee68349d7d1158609fbf690fec4a2.tar.gz
Pass CXXFLAGS down from command line.
Diffstat (limited to 'build-all.mk')
-rw-r--r--build-all.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-all.mk b/build-all.mk
index 1e5ab1a9529..50ed6b10e19 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -18,8 +18,9 @@ endif
NATIVE = native
-GCC = gcc -O
-CFLAGS = -g
+GCC = gcc -O
+CFLAGS = -g
+CXXFLAGS = -g -O
log = 1>$(canonhost)-build-log 2>&1
tlog = 1> $(canonhost)-x-$$i-build-log 2>&1
@@ -126,6 +127,7 @@ FLAGS_TO_PASS := \
"GCC=$(GCC)" \
"CC=$(CC)" \
"CFLAGS=$(CFLAGS)" \
+ "CXXFLAGS=$(CXXFLAGS)" \
"host=$(canonhost)" \
"RELEASE_TAG=$(RELEASE_TAG)"