mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +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 += --leak-check=full --suppressions=valgrind.supp
|
||||
db = gdb --args
|
||||
javac = "$(JAVA_HOME)/bin/javac"
|
||||
javac = "$(JAVA_HOME)/bin/javac" -encoding UTF-8
|
||||
javah = "$(JAVA_HOME)/bin/javah"
|
||||
jar = "$(JAVA_HOME)/bin/jar"
|
||||
strip = strip
|
||||
@ -433,7 +433,7 @@ ifeq ($(platform),android)
|
||||
lflags = "-L$(sysroot)/usr/lib" $(common-lflags) -llog
|
||||
target-format = elf
|
||||
use-lto = false
|
||||
|
||||
|
||||
ifeq ($(arch),arm)
|
||||
cflags += -marm -march=$(android-arm-arch) -ftree-vectorize -ffast-math -mfloat-abi=softfp
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user