diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/config/Make.rules.SunOS | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/config/Make.rules.SunOS b/cpp/config/Make.rules.SunOS index dd7e94199a9..179d0beeb60 100644 --- a/cpp/config/Make.rules.SunOS +++ b/cpp/config/Make.rules.SunOS @@ -17,7 +17,7 @@ # comment it out and define CXX=<desired-compiler> in your environment. # If CXX is not defined anywhere, the default (from gmake) is g++. # -CXX = CC +CXX ?= CC # This variable is used to determine the machine type. # For SUN UltraSPARC machines: sun4u @@ -114,6 +114,8 @@ endif ifeq ($(CXX),g++) + CC = gcc + ifeq ($(LP64),yes) CXXARCHFLAGS = -m64 endif |