To compile on ARM CPU (#46)
This commit is contained in:
parent
0b406754fa
commit
41c96a25a9
10
Makefile
10
Makefile
@ -19,7 +19,15 @@ export LDFLAGS= -Llib -Wl,-rpath=/usr/local/lib/gcc6
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
export WARNFLAGS= -Wall -Wextra -Wno-unused-parameter -Wno-unknown-pragmas -std=c++0x
|
export WARNFLAGS= -Wall -Wextra -Wno-unused-parameter -Wno-unknown-pragmas -std=c++0x
|
||||||
export CFLAGS = -O3 -msse2 $(WARNFLAGS)
|
export CFLAGS = -O3 $(WARNFLAGS)
|
||||||
|
|
||||||
|
ifndef USE_SSE
|
||||||
|
USE_SSE = 1
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_SSE), 1)
|
||||||
|
CFLAGS += -msse2
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef WITH_FPIC
|
ifndef WITH_FPIC
|
||||||
WITH_FPIC = 1
|
WITH_FPIC = 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user