commit | 3fbdbd98989f3e9c59342e59fdad35a56bb90923 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Fri May 08 23:08:58 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Fri May 08 23:08:58 2009 +0000 |
tree | 9cd22f097c04e338b7b3d9b761840d3827c264b6 | |
parent | 099672beef48a9de0f365f13d41eed36017576b4 [diff] [blame] |
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
diff --git a/Makefile.rules b/Makefile.rules index ce31f22..4acada3 100644 --- a/Makefile.rules +++ b/Makefile.rules
@@ -338,6 +338,11 @@ 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