diff make/solaris/makefiles/vm.make @ 15000:cc844a4512f1

added graal.version system property that is (only) defined by Graal enabled VMs
author Doug Simon <doug.simon@oracle.com>
date Mon, 07 Apr 2014 16:24:49 +0200
parents 4ca6dc0799b6
children dffc37fa7157
line wrap: on
line diff
--- a/make/solaris/makefiles/vm.make	Mon Apr 07 11:46:20 2014 +0200
+++ b/make/solaris/makefiles/vm.make	Mon Apr 07 16:24:49 2014 +0200
@@ -100,6 +100,10 @@
 CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64
 endif # ifneq ($(LP64), 1)
 
+ifeq ($(INCLUDE_GRAAL), true)
+  CXXFLAGS += -DGRAAL_VERSION="\"$(GRAAL_VERSION)\""
+endif
+
 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 CFLAGS += $(CFLAGS_WARN)