aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 15bc2de..9b8a84f 100644
--- a/Makefile.rules
+++ b/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)