diff --git a/README.md b/README.md index c80cf2dbc4..a33af84539 100644 --- a/README.md +++ b/README.md @@ -507,7 +507,7 @@ setting the boot classpath to "[bootJar]". $ cat >embedded-jar-main.cpp <; + } -keep class libcore.io.StructFlock -keep class libcore.io.StructGroupReq -keep class libcore.io.StructLinger diff --git a/makefile b/makefile index a5130fcac2..2e004f3bde 100755 --- a/makefile +++ b/makefile @@ -1294,8 +1294,8 @@ ifneq ($(lzma),) lzma-encoder = $(build)/lzma/lzma - lzma-build-cflags = -D_7ZIP_ST -D__STDC_CONSTANT_MACROS -fno-rtti \ - -fno-exceptions -I$(lzma)/C + lzma-build-cflags = -D_7ZIP_ST -D__STDC_CONSTANT_MACROS \ + -fno-exceptions -fPIC -I$(lzma)/C lzma-cflags = $(lzma-build-cflags) $(classpath-extra-cflags)