$OpenBSD: patch-hotspot_build_bsd_makefiles_gcc_make,v 1.1.1.1 2004/12/21 04:01:05 kurt Exp $
--- hotspot/build/bsd/makefiles/gcc.make.orig	Fri Dec 17 16:34:14 2004
+++ hotspot/build/bsd/makefiles/gcc.make	Fri Dec 17 16:49:18 2004
@@ -78,9 +78,10 @@ else
 #ifeq ($(FREEBSD_4STABLE), true)
 #CPP = gcc
 #else
-CPP = g++
+CXX ?= g++
+CPP  = $(CXX)
 #endif
-CC  = gcc
+CC  ?= gcc
 endif
 
 # XXXBSD: look into below and above linkage issues!
