Add ability to compile on iOS
This commit is contained in:
1 parent
043ff257c4
commit
9f87b6dd9c
6 files changed
+40
-4
No files matched your search
@@ -9,6 +9,9 @@ MYLDLIBS = -lcrypto
|
||||
cpu_arch = $(shell uname -m)
|
||||
ifneq ($(findstring arm64, $(cpu_arch)), )
|
||||
MYCFLAGS += -mcpu=native
|
||||
# iOS 'fun'
|
||||
else ifneq ($(findstring iP, $(cpu_arch)), )
|
||||
MYCFLAGS += -mcpu=native
|
||||
else
|
||||
MYCFLAGS += -march=native
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user