aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
commit6152f015efe866c2b37ce6b5c5c616d2a9a4c2c4 (patch)
tree5ca12f8a4bc7b64f5518968c9ac494b9092d311c
parent8c6c56d9e6ea6f6f81793f786970966a5cade35c (diff)
replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic where
appropriate. It seems that once upon a time -export_dynamic was a real flag. Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic, giving this error message: /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60 svn path=/trunk/externals/loaders/hexloader/; revision=11724
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 306a74e..9d8379b 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ LINUXCFLAGS = $(DEFINES) -O2 -funroll-loops -fomit-frame-pointer -fPIC \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch
-LINUXLDFLAGS = -export_dynamic -shared -lc -lm
+LINUXLDFLAGS = --export-dynamic -shared -lc -lm
LINUXINCLUDE = -I$(PDSRCDIR)
@@ -154,7 +154,7 @@ MINGWCFLAGS = $(DEFINES) -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch -mms-bitfields
-MINGWLDFLAGS = -export_dynamic -shared -lm -lkernel32 -lcoldname -lcrtdll -lpd -L$(PDLIBDIR)
+MINGWLDFLAGS = --export-dynamic -shared -lm -lkernel32 -lcoldname -lcrtdll -lpd -L$(PDLIBDIR)
MINGWINCLUDE = -I$(PDSRCDIR)