mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
In non-pic builds, we can use -mdynamic-no-pic for a little more speed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
099672beef
commit
3fbdbd9898
@ -338,6 +338,11 @@ ifeq ($(ENABLE_PIC),1)
|
||||
C.Flags += -fPIC
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifeq ($(OS),Darwin)
|
||||
CXX.Flags += -mdynamic-no-pic
|
||||
C.Flags += -mdynamic-no-pic
|
||||
endif
|
||||
endif
|
||||
|
||||
CXX.Flags += $(CXXFLAGS) -Woverloaded-virtual
|
||||
|
Loading…
Reference in New Issue
Block a user