mirror of
https://github.com/corda/corda.git
synced 2025-01-22 04:18:31 +00:00
Revert "add avian.commit system property"
This reverts commit ed5be83467
.
This commit is contained in:
parent
ed5be83467
commit
77f1bddce2
2
makefile
2
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
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user