mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Cleanup Makfile for MacOs
1) Explicitly setting the default lib to the system-default is not needed on a Mac. See: http://libcxx.llvm.org/docs/UsingLibcxx.html 2) We do no longer need to exclude bmi2-builds from LTO. See: https://llvm.org/bugs/show_bug.cgi?id=19416 Changes tested and discussed on FishCooking: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/acUQtKtEzMM No functional change.
This commit is contained in:
parent
0d9a9f5e98
commit
ca464fc89e
1 changed files with 0 additions and 7 deletions
|
@ -210,11 +210,6 @@ ifeq ($(COMP),clang)
|
||||||
CXXFLAGS += -m$(bits)
|
CXXFLAGS += -m$(bits)
|
||||||
LDFLAGS += -m$(bits)
|
LDFLAGS += -m$(bits)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(KERNEL),Darwin)
|
|
||||||
CXXFLAGS += -stdlib=libc++
|
|
||||||
DEPENDFLAGS += -stdlib=libc++
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(comp),icc)
|
ifeq ($(comp),icc)
|
||||||
|
@ -293,10 +288,8 @@ ifeq ($(optimize),yes)
|
||||||
|
|
||||||
ifeq ($(comp),clang)
|
ifeq ($(comp),clang)
|
||||||
ifeq ($(KERNEL),Darwin)
|
ifeq ($(KERNEL),Darwin)
|
||||||
ifeq ($(pext),no)
|
|
||||||
CXXFLAGS += -flto
|
CXXFLAGS += -flto
|
||||||
LDFLAGS += $(CXXFLAGS)
|
LDFLAGS += $(CXXFLAGS)
|
||||||
endif
|
|
||||||
ifeq ($(arch),i386)
|
ifeq ($(arch),i386)
|
||||||
CXXFLAGS += -mdynamic-no-pic
|
CXXFLAGS += -mdynamic-no-pic
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue