1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 03:29:14 +00:00

Fix build under OS X

Reported by Vince Negri

No functional change.
This commit is contained in:
Marco Costalba 2015-02-22 16:30:53 +01:00
parent 8d16111ffd
commit 29ff925fd8

View file

@ -171,6 +171,9 @@ ifeq ($(COMP),clang)
comp=clang
CXX=clang++
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
ifeq ($(UNAME),Darwin)
CXXFLAGS += -std=c++0x -stdlib=libc++
endif
endif
ifeq ($(comp),icc)
@ -186,8 +189,8 @@ else
endif
ifeq ($(UNAME),Darwin)
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.6
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.6
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.10
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.10
endif
### On mingw use Windows threads, otherwise POSIX