termux compilation fixes: waveshare, mfd_aes_brute and host target
This commit is contained in:
1 parent
f0dbcf7f77
commit
932b92d8f4
2 files changed
+13
-5
No files matched your search
@@ -5,8 +5,13 @@ MYCFLAGS = -O3 -ffast-math
|
||||
MYDEFS =
|
||||
MYLDLIBS = -lcrypto
|
||||
|
||||
SUPPORT_MARCH := $(shell $(CC) -xc /dev/null -c -o /dev/null -march=native > /dev/null 2>/dev/null && echo y)
|
||||
SUPPORT_MCPU := $(shell $(CC) -xc /dev/null -c -o /dev/null -mcpu=native > /dev/null 2>/dev/null && echo y)
|
||||
SUPPORT_MARCH ?= $(shell $(CC) -xc /dev/null -c -o /dev/null -march=native > /dev/null 2>/dev/null && echo y)
|
||||
SUPPORT_MCPU ?= $(shell $(CC) -xc /dev/null -c -o /dev/null -mcpu=native > /dev/null 2>/dev/null && echo y)
|
||||
# Termux / Android safety
|
||||
ifneq ($(TERMUX_VERSION),)
|
||||
SUPPORT_MARCH := n
|
||||
SUPPORT_MCPU := n
|
||||
endif
|
||||
|
||||
ifeq ($(DONT_BUILD_NATIVE),y)
|
||||
# do nothing
|
||||
|
||||
Reference in new issue
Block a user