summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-07 23:40:21 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-07 23:40:21 +0200
commitf815a05a053c14647c33dfc2d2c78347bad475a3 (patch)
tree7a364ea9b0de996717ce2ec7557bd51b515cf76d /Makefile
parent27e9e57209dd79e09ea21bb82d415f45c47b51f1 (diff)
A few more fixes...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fd954f4..00f9e48 100644
--- a/Makefile
+++ b/Makefile
@@ -17,13 +17,13 @@ ARCH_FLAGS=-arch i386
SHARED_FLAGS=-dynamiclib
SHARED_EXT=dylib
CPPFLAGS = -dynamic
-LD = g++ -arch i386
+LD = g++ -arch i386 -read_only_relocs suppress
STRIP = strip -x
FINK=
ifeq ($(TRUESYSTEM),Linux)
CC = i686-apple-darwin9-gcc
CXX = i686-apple-darwin9-g++
-LD = i686-apple-darwin9-g++ -arch i386 -mmacosx-version-min=10.5
+LD = i686-apple-darwin9-g++ -arch i386 -mmacosx-version-min=10.5 -read_only_relocs suppress
STRIP = i686-apple-darwin9-strip -x
AS = i686-apple-darwin9-as -arch i386
LIPO = i686-apple-darwin9-lipo
@@ -95,7 +95,7 @@ dep: $(ALL_DEPS)
luagmp.a: $(addsuffix .o, $(notdir $(basename $(GMP_SOURCES))))
$(AR) $@ $+
-luagmp.$(SHARED_EXT): plugin-luagmp.o luagmp.a
+luagmp.$(SHARED_EXT): luagmp.a
$(LD) $(LDFLAGS) -o $@ $+ $(GMP_LIBS)
clean: