From 77f1bddce2dc305af51a62fae52ae270fcc96378 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 22 Jul 2009 10:45:38 -0600 Subject: [PATCH] Revert "add avian.commit system property" This reverts commit ed5be834678f65d508c2fbd06c9013c0d842a9d3. --- makefile | 2 +- src/builtin.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/makefile b/makefile index 2bcf0afefe..583d0fdb90 100644 --- a/makefile +++ b/makefile @@ -83,7 +83,7 @@ warnings = -Wall -Wextra -Werror -Wunused-parameter -Winit-self \ common-cflags = $(warnings) -fno-rtti -fno-exceptions -fno-omit-frame-pointer \ "-I$(JAVA_HOME)/include" -idirafter $(src) -I$(native-build) \ -D__STDC_LIMIT_MACROS -D_JNI_IMPLEMENTATION_ -DAVIAN_VERSION=\"$(version)\" \ - -DAVIAN_COMMIT=\"$(shell git rev-parse --short=8 HEAD)\" + build-cflags = $(common-cflags) -fPIC -fvisibility=hidden \ "-I$(JAVA_HOME)/include/linux" -I$(src) -pthread diff --git a/src/builtin.cpp b/src/builtin.cpp index 0bb1b1f7a8..f4541036d4 100644 --- a/src/builtin.cpp +++ b/src/builtin.cpp @@ -503,8 +503,6 @@ Avian_java_lang_System_getVMProperty r = reinterpret_cast(makeString(t, "%s", t->m->finder->path())); } else if (strcmp(n, "avian.version") == 0) { r = reinterpret_cast(makeString(t, AVIAN_VERSION)); - } else if (strcmp(n, "avian.commit") == 0) { - r = reinterpret_cast(makeString(t, AVIAN_COMMIT)); } else if (strcmp(n, "file.encoding") == 0) { r = reinterpret_cast(makeString(t, "ASCII")); } else {