Browse Source

Remove -finline-functions from OSX by default

Since it's not available via clang and that's the default there.
Loïc Hoguin 6 years ago
parent
commit
05e92ad823
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/c_src.mk

+ 2 - 2
plugins/c_src.mk

@@ -35,8 +35,8 @@ ifeq ($(PLATFORM),msys2)
 	CXXFLAGS ?= -O3 -finline-functions -Wall
 	CXXFLAGS ?= -O3 -finline-functions -Wall
 else ifeq ($(PLATFORM),darwin)
 else ifeq ($(PLATFORM),darwin)
 	CC ?= cc
 	CC ?= cc
-	CFLAGS ?= -O3 -std=c99 -arch x86_64 -finline-functions -Wall -Wmissing-prototypes
-	CXXFLAGS ?= -O3 -arch x86_64 -finline-functions -Wall
+	CFLAGS ?= -O3 -std=c99 -arch x86_64 -Wall -Wmissing-prototypes
+	CXXFLAGS ?= -O3 -arch x86_64 -Wall
 	LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress
 	LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress
 else ifeq ($(PLATFORM),freebsd)
 else ifeq ($(PLATFORM),freebsd)
 	CC ?= cc
 	CC ?= cc