Mercurial > hg > graal-compiler
diff make/linux/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 | 66e3af78ea96 |
line wrap: on
line diff
--- a/make/linux/makefiles/vm.make Mon Apr 07 11:46:20 2014 +0200 +++ b/make/linux/makefiles/vm.make Mon Apr 07 16:24:49 2014 +0200 @@ -113,6 +113,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/BYFILE)