Mercurial > hg > graal-jvmci-8
diff make/bsd/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/bsd/makefiles/vm.make Mon Apr 07 11:46:20 2014 +0200 +++ b/make/bsd/makefiles/vm.make Mon Apr 07 16:24:49 2014 +0200 @@ -111,6 +111,10 @@ CXXFLAGS += -DDEFAULT_LIBPATH="\"$(DEFAULT_LIBPATH)\"" endif +ifeq ($(INCLUDE_GRAAL), true) + CXXFLAGS += -DGRAAL_VERSION="\"$(GRAAL_VERSION)\"" +endif + # CFLAGS_WARN holds compiler options to suppress/enable warnings. CFLAGS += $(CFLAGS_WARN/BYFILE)