projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099672b
)
In non-pic builds, we can use -mdynamic-no-pic for a little more speed.
author
Mike Stump
<mrs@apple.com>
Fri, 8 May 2009 23:08:58 +0000
(23:08 +0000)
committer
Mike Stump
<mrs@apple.com>
Fri, 8 May 2009 23:08:58 +0000
(23:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71281
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index ce31f22ee0cd74418c349841acee13f17ddef96a..4acada3508c9754fd08d6dcaa5c38fce9322ca2c 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-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