diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-11-27 05:48:23 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-11-27 05:48:23 +0000 |
commit | 3883849c28bd8ebbe392e0f1e664d8f0ea3e70ca (patch) | |
tree | e7736df8651e0b921d987f4a5b75053a5dd19056 /java/jdk13/files/patch-gcc30.make | |
parent | [MAINTAINER] lang/pike72: Try to fix non i386 compilation breakage. (diff) |
. 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]
Notes
Notes:
svn path=/head/; revision=122563
Diffstat (limited to 'java/jdk13/files/patch-gcc30.make')
-rw-r--r-- | java/jdk13/files/patch-gcc30.make | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-gcc30.make b/java/jdk13/files/patch-gcc30.make new file mode 100644 index 000000000000..bd0657f4674e --- /dev/null +++ b/java/jdk13/files/patch-gcc30.make @@ -0,0 +1,15 @@ +$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 |