Skip to content

Commit 7869753

Browse files
Merge pull request #24 from zeha/darwin-no-explicit-arch
macOS: drop explicit -arch flags
2 parents f3f1b8c + fe00614 commit 7869753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

c_src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ MEMTEST_OUTPUT ?= $(CURDIR)/../_build/memory_test
2121
UNAME_SYS := $(shell uname -s)
2222
ifeq ($(UNAME_SYS), Darwin)
2323
CXX ?= c++
24-
CXXFLAGS += -O3 -arch x86_64 -finline-functions
25-
LDFLAGS += -arch x86_64 -flat_namespace -undefined suppress
24+
CXXFLAGS += -O3 -finline-functions
25+
LDFLAGS += -flat_namespace -undefined suppress
2626
PSOURCES = prometheus_process_info_macos.cc
2727
else ifeq ($(UNAME_SYS), FreeBSD)
2828
CXX ?= c++

0 commit comments

Comments
 (0)