Skip to content

Commit

Permalink
Merge pull request #20 from akash-akya/mac-m1-fix
Browse files Browse the repository at this point in the history
Remove arch compiler flag
  • Loading branch information
akash-akya authored Nov 13, 2021
2 parents dfbbebd + 0d1f5db commit fc16eec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ C_SRC_OUTPUT ?= $(CURDIR)/../priv/$(PROJECT).so
UNAME_SYS := $(shell uname -s)
ifeq ($(UNAME_SYS), Darwin)
CC ?= cc
CFLAGS += -O3 -std=c11 -arch x86_64 -finline-functions -Wall -Werror -Wmissing-prototypes
CXXFLAGS += -O3 -arch x86_64 -finline-functions -Wall -Werror
LDFLAGS += -arch x86_64 -flat_namespace -undefined suppress
CFLAGS += -O3 -std=c11 -finline-functions -Wall -Werror -Wmissing-prototypes
CXXFLAGS += -O3 -finline-functions -Wall -Werror
LDFLAGS += -flat_namespace -undefined suppress
else ifeq ($(UNAME_SYS), FreeBSD)
CC ?= cc
CFLAGS += -O3 -std=c11 -finline-functions -Wall -Werror -Wmissing-prototypes
Expand Down

0 comments on commit fc16eec

Please sign in to comment.