default of USE_LLVM=0

dev
MITSUNARI Shigeo 9 years ago
parent 7641d659ea
commit 8d62cf4ed8
  1. 2
      Makefile
  2. 5
      readme.md

@ -21,7 +21,7 @@ GEN_EXE=src/gen
ASM_SRC=src/$(CPU).s ASM_SRC=src/$(CPU).s
ASM_OBJ=$(OBJ_DIR)/$(CPU).o ASM_OBJ=$(OBJ_DIR)/$(CPU).o
LIB_OBJ=$(OBJ_DIR)/fp.o LIB_OBJ=$(OBJ_DIR)/fp.o
USE_LLVM?=1 USE_LLVM?=0
ifeq ($(USE_LLVM),1) ifeq ($(USE_LLVM),1)
CFLAGS+=-DMCL_USE_LLVM CFLAGS+=-DMCL_USE_LLVM
LIB_OBJ+=$(ASM_OBJ) LIB_OBJ+=$(ASM_OBJ)

@ -30,11 +30,6 @@ To make sample programs, run
make sample make sample
``` ```
If clang is not installed, then
```
make USE_LLVM=0
```
## Build for 32-bit Linux ## Build for 32-bit Linux
Build openssl and gmp for 32-bit mode and install <lib32> Build openssl and gmp for 32-bit mode and install <lib32>
``` ```

Loading…
Cancel
Save