Skip to content

Commit

Permalink
Fix building on arm64-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jul 3, 2023
1 parent 846a673 commit efc8bd6
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 @@ -13,9 +13,9 @@ C_SRC_OUTPUT ?= $(CURDIR)/../priv/$(PROJECT)
UNAME_SYS := $(shell uname -s)
ifeq ($(UNAME_SYS), Darwin)
CC ?= cc
CFLAGS ?= -O3 -std=c99 -arch x86_64 -Wall -Wmissing-prototypes
CXXFLAGS ?= -O3 -arch x86_64 -Wall
LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress
CFLAGS ?= -O3 -std=c99 -Wall -Wmissing-prototypes
CXXFLAGS ?= -O3 -Wall
LDFLAGS ?= -flat_namespace -undefined suppress
else ifeq ($(UNAME_SYS), FreeBSD)
CC ?= cc
CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -I /usr/local/include
Expand Down

0 comments on commit efc8bd6

Please sign in to comment.