mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 11:39:15 +00:00
Fix build under OS X
Reported by Vince Negri No functional change.
This commit is contained in:
parent
8d16111ffd
commit
29ff925fd8
1 changed files with 5 additions and 2 deletions
|
@ -171,6 +171,9 @@ ifeq ($(COMP),clang)
|
||||||
comp=clang
|
comp=clang
|
||||||
CXX=clang++
|
CXX=clang++
|
||||||
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
|
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
|
||||||
|
ifeq ($(UNAME),Darwin)
|
||||||
|
CXXFLAGS += -std=c++0x -stdlib=libc++
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(comp),icc)
|
ifeq ($(comp),icc)
|
||||||
|
@ -186,8 +189,8 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.6
|
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.10
|
||||||
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.6
|
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.10
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### On mingw use Windows threads, otherwise POSIX
|
### On mingw use Windows threads, otherwise POSIX
|
||||||
|
|
Loading…
Add table
Reference in a new issue