Pass CXXFLAGS down from command line.
authorIan Lance Taylor <ian@airs.com>
Fri, 4 Jun 1993 21:13:33 +0000 (21:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 4 Jun 1993 21:13:33 +0000 (21:13 +0000)
build-all.mk

index 1e5ab1a9529d47b5e2b5e67f052bdcd7570458ea..50ed6b10e19400ad186819b2343bdfb49ff3e394 100644 (file)
@@ -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)"