aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-06-14 19:36:14 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-06-14 19:36:35 +0800
commit7641d659eaeccf80223f1d55d76cd8479b7ca197 (patch)
tree1a15662be2aff3c39589f8eb7ce0a365fec5224f
parent314fa154b45e57e8b9145e1d827d0cbeeb1c513d (diff)
downloaddexon-mcl-7641d659eaeccf80223f1d55d76cd8479b7ca197.tar.gz
dexon-mcl-7641d659eaeccf80223f1d55d76cd8479b7ca197.tar.zst
dexon-mcl-7641d659eaeccf80223f1d55d76cd8479b7ca197.zip
comment of USE_LLVM
-rw-r--r--java/Makefile2
-rw-r--r--readme.md5
2 files changed, 6 insertions, 1 deletions
diff --git a/java/Makefile b/java/Makefile
index a14c951..fbbe101 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -9,7 +9,7 @@ else
CFLAGS+=-z noexecstack
LDFLAGS+=-lrt
endif
-CFLAGS+= -shared $(JAVA_INC) $(JAVA_INC)/linux -I ../include -I ../../xbyak -I ../../cybozulib/include -Wno-strict-aliasing
+CFLAGS+=$(JAVA_INC) $(JAVA_INC)/linux -I ../include -I ../../xbyak -I ../../cybozulib/include -Wno-strict-aliasing
MCL_LIB=../lib/libmcl.a
PACKAGE_NAME=com.herumi.mcl
diff --git a/readme.md b/readme.md
index e77f3e1..210a4bc 100644
--- a/readme.md
+++ b/readme.md
@@ -30,6 +30,11 @@ To make sample programs, run
make sample
```
+If clang is not installed, then
+```
+make USE_LLVM=0
+```
+
## Build for 32-bit Linux
Build openssl and gmp for 32-bit mode and install <lib32>
```