aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-05 05:10:23 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-05 05:10:23 +0000
commit66911640b89cc2a2ead05f10576881be412af6b9 (patch)
tree84dc830a57d17ad8865d83b90af29c90e193adce
parentb081819aed660bee6aa7696f9d92aa6ea8b57fd7 (diff)
added --enable-auto-import flag to get rid of linker warnings
svn path=/trunk/externals/motex/; revision=11684
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a3c63f..c840538 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
OS = windows
OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
CFLAGS += -mms-bitfields
- LDFLAGS += -s -shared
+ LDFLAGS += -s -shared -Wl,--enable-auto-import
LIBS += -L$(pd_src)/bin -L$(pd_src)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
STRIP = strip --strip-unneeded -R .note -R .comment
endif