freebsd-ports/java/jdk13/files/patch-gcc30.make
Greg Lewis 3883849c28 . Fix the build with gcc 3.4 part 2/2. Don't use the flag
-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]
2004-11-27 05:48:23 +00:00

15 lines
434 B
Makefile

$FreeBSD$
--- ../../hotspot1.3.1/build/linux/makefiles/gcc30.make 12 Jul 2002 08:25:58 -0000 1.3
+++ ../../hotspot1.3.1/build/linux/makefiles/gcc30.make 22 Nov 2004 17:19:42 -0000
@@ -37,8 +37,8 @@
# Set the environment variable HOTSPARC_HOTSPARC_GENERIC to "true"
# to inhibit the effect of the previous line on CFLAGS.
-CPP = g++30
-CC = gcc30
+CXX ?= g++30
+CC ?= gcc30
AOUT_FLAGS += -export-dynamic
DEBUG_CFLAGS += -g