Unverified Commit ff537233 authored by Alexander Færøy's avatar Alexander Færøy
Browse files

Don't use -finline-functions on Darwin.

parent 1aed0e62
......@@ -14,8 +14,8 @@ C_SRC_OUTPUT ?= $(CURDIR)/../priv/$(PROJECT).so
UNAME_SYS := $(shell uname -s)
ifeq ($(UNAME_SYS), Darwin)
CC ?= cc
CFLAGS ?= -O3 -std=c99 -arch x86_64 -finline-functions -Wall -Wmissing-prototypes -I /usr/local/include
CXXFLAGS ?= -O3 -arch x86_64 -finline-functions -Wall
CFLAGS ?= -O3 -std=c99 -arch x86_64 -Wall -Wmissing-prototypes -I /usr/local/include
CXXFLAGS ?= -O3 -arch x86_64 -Wall
LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress -L /usr/local/lib
else ifeq ($(UNAME_SYS), FreeBSD)
CC ?= cc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment