$OpenBSD: patch-hotspot_build_bsd_makefiles_adlc_make,v 1.1.1.1 2004/12/21 04:01:05 kurt Exp $
--- hotspot/build/bsd/makefiles/adlc.make.orig	Fri Dec 17 16:54:08 2004
+++ hotspot/build/bsd/makefiles/adlc.make	Fri Dec 17 18:31:42 2004
@@ -57,8 +57,9 @@ CFLAGS += -w
 #  /usr/dist/share/devpro/5.x-sparc/bin/CC
 #  man -M /usr/dist/share/devpro/5.x-sparc/man CC
 
-CPP       = g++
-CC        = gcc
+CXX     ?= g++
+CPP      = $(CXX)
+CC      ?= gcc
 CPPFLAGS  = -DASSERT -g -o $@
 # -o      object file-name
 # +w      Additional warnings: Nonportable, Likely mistakes or inefficient
