mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
specify UTF-8 encoding to javac
This fixes "illegal character" errors when compiling e.g. Misc.java on systems where the default encoding is not UTF-8.
This commit is contained in:
parent
d97fe5304f
commit
82d4ced160
4
makefile
4
makefile
@ -179,7 +179,7 @@ dlltool = dlltool
|
|||||||
vg = nice valgrind --num-callers=32 --db-attach=yes --freelist-vol=100000000
|
vg = nice valgrind --num-callers=32 --db-attach=yes --freelist-vol=100000000
|
||||||
vg += --leak-check=full --suppressions=valgrind.supp
|
vg += --leak-check=full --suppressions=valgrind.supp
|
||||||
db = gdb --args
|
db = gdb --args
|
||||||
javac = "$(JAVA_HOME)/bin/javac"
|
javac = "$(JAVA_HOME)/bin/javac" -encoding UTF-8
|
||||||
javah = "$(JAVA_HOME)/bin/javah"
|
javah = "$(JAVA_HOME)/bin/javah"
|
||||||
jar = "$(JAVA_HOME)/bin/jar"
|
jar = "$(JAVA_HOME)/bin/jar"
|
||||||
strip = strip
|
strip = strip
|
||||||
@ -433,7 +433,7 @@ ifeq ($(platform),android)
|
|||||||
lflags = "-L$(sysroot)/usr/lib" $(common-lflags) -llog
|
lflags = "-L$(sysroot)/usr/lib" $(common-lflags) -llog
|
||||||
target-format = elf
|
target-format = elf
|
||||||
use-lto = false
|
use-lto = false
|
||||||
|
|
||||||
ifeq ($(arch),arm)
|
ifeq ($(arch),arm)
|
||||||
cflags += -marm -march=$(android-arm-arch) -ftree-vectorize -ffast-math -mfloat-abi=softfp
|
cflags += -marm -march=$(android-arm-arch) -ftree-vectorize -ffast-math -mfloat-abi=softfp
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user