mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
-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/gcc31.make 14 Jul 2002 00:07:59 -0000 1.1
|
|
+++ ../../hotspot1.3.1/build/linux/makefiles/gcc31.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++31
|
|
-CC = gcc31
|
|
+CXX ?= g++31
|
|
+CC ?= gcc31
|
|
|
|
AOUT_FLAGS += -export-dynamic
|
|
DEBUG_CFLAGS += -g
|