Revert "add avian.commit system property"

This reverts commit ed5be83467.
This commit is contained in:
Joel Dice 2009-07-22 10:45:38 -06:00
parent ed5be83467
commit 77f1bddce2
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -503,8 +503,6 @@ Avian_java_lang_System_getVMProperty
r = reinterpret_cast<int64_t>(makeString(t, "%s", t->m->finder->path()));
} else if (strcmp(n, "avian.version") == 0) {
r = reinterpret_cast<int64_t>(makeString(t, AVIAN_VERSION));
} else if (strcmp(n, "avian.commit") == 0) {
r = reinterpret_cast<int64_t>(makeString(t, AVIAN_COMMIT));
} else if (strcmp(n, "file.encoding") == 0) {
r = reinterpret_cast<int64_t>(makeString(t, "ASCII"));
} else {