diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/Makefile.rules | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 15bc2decf9b..9b8a84f304c 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -458,9 +458,9 @@ endif ifneq ($(OS),Darwin) ifdef TOOLNAME ifdef EXAMPLE_TOOL - LD.Flags += $(RPATH) -Wl,$(ExmplDir) -export-dynamic + LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(RDYNAMIC) else - LD.Flags += $(RPATH) -Wl,$(ToolDir) -export-dynamic + LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC) endif endif endif @@ -516,14 +516,6 @@ ifdef UNIVERSAL # Building universal cannot compute dependencies automatically. DISABLE_AUTO_DEPENDENCIES=1 -else - ifeq ($(ARCH),x86_64) - CompileCommonOpts += -m64 - else - ifeq ($(ARCH),i386) - CompileCommonOpts += -m32 - endif - endif endif ifeq ($(OS),SunOS) |

