mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -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
539 B
Makefile
24 lines
539 B
Makefile
$FreeBSD$
|
|
|
|
--- ../../hotspot1.3.1/build/linux/makefiles/gcc.make 23 Apr 2003 18:04:37 -0000 1.6
|
|
+++ ../../hotspot1.3.1/build/linux/makefiles/gcc.make 22 Nov 2004 17:19:42 -0000
|
|
@@ -36,8 +36,6 @@
|
|
|
|
|
|
#####
|
|
-#harmless
|
|
-OPT_CFLAGS += -fmemoize-lookups
|
|
#unneeded
|
|
#OPT_CFLAGS += -fpeephole
|
|
#bad
|
|
@@ -51,8 +49,8 @@
|
|
# Set the environment variable HOTSPARC_HOTSPARC_GENERIC to "true"
|
|
# to inhibit the effect of the previous line on CFLAGS.
|
|
|
|
-CPP = g++
|
|
-CC = gcc
|
|
+CXX ?= g++
|
|
+CC ?= gcc
|
|
|
|
AOUT_FLAGS += -export-dynamic
|
|
DEBUG_CFLAGS += -g
|