3883849c28
-fmemoize-lookups as gcc 3.4 doesn't understand it. [1] . Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS. Also, respect the setting of CXX and CXXFLAGS. PR: 71516 [1] Submitted by: Damir Kiramov <damirycha@damirycha.net.ru> [1]
24 lines
555 B
Makefile
24 lines
555 B
Makefile
$FreeBSD$
|
|
|
|
--- ../../hotspot1.3.1/build/linux/makefiles/gcc32.make 16 Sep 2002 06:21:28 -0000 1.1
|
|
+++ ../../hotspot1.3.1/build/linux/makefiles/gcc32.make 22 Nov 2004 17:19:42 -0000
|
|
@@ -108,8 +108,6 @@
|
|
|
|
|
|
#####
|
|
-#harmless
|
|
-OPT_CFLAGS += -fmemoize-lookups
|
|
#unneeded
|
|
#OPT_CFLAGS += -fpeephole
|
|
#bad
|
|
@@ -123,8 +121,8 @@
|
|
# Set the environment variable HOTSPARC_HOTSPARC_GENERIC to "true"
|
|
# to inhibit the effect of the previous line on CFLAGS.
|
|
|
|
-CPP = g++32
|
|
-CC = gcc32
|
|
+CXX ?= g++32
|
|
+CC ?= gcc32
|
|
|
|
AOUT_FLAGS += -export-dynamic
|
|
DEBUG_CFLAGS += -g
|