Add support for Apple Silicon (M1)

This commit is contained in:
tcprst committed 2021-01-03 19:27:20 -05:00
1 parent eaee80f3d7
commit ecd52347fa
5 files changed
+38 -7

No files matched your search

+5
View File
@@ -57,6 +57,11 @@ else
RANLIB= ranlib
endif
# For detection of Apple Silicon
ifeq ($(platform),Darwin)
BREW_PREFIX = $(shell brew --prefix)
endif
ifeq ($(DEBUG),1)
DEFCXXFLAGS = -g -O0 -pipe
DEFCFLAGS = -g -O0 -fstrict-aliasing -pipe