Skip to content

Commit

Permalink
Merge pull request #24 from zeha/darwin-no-explicit-arch
Browse files Browse the repository at this point in the history
macOS: drop explicit -arch flags
  • Loading branch information
deadtrickster authored May 11, 2021
2 parents f3f1b8c + fe00614 commit 7869753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ MEMTEST_OUTPUT ?= $(CURDIR)/../_build/memory_test
UNAME_SYS := $(shell uname -s)
ifeq ($(UNAME_SYS), Darwin)
CXX ?= c++
CXXFLAGS += -O3 -arch x86_64 -finline-functions
LDFLAGS += -arch x86_64 -flat_namespace -undefined suppress
CXXFLAGS += -O3 -finline-functions
LDFLAGS += -flat_namespace -undefined suppress
PSOURCES = prometheus_process_info_macos.cc
else ifeq ($(UNAME_SYS), FreeBSD)
CXX ?= c++
Expand Down

0 comments on commit 7869753

Please sign in to comment.