diff options
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r-- | Makefile.mingw32 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32 index f366ee7..96a74f1 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -5,10 +5,10 @@ CXX = i386-mingw32-g++ LD = i386-mingw32-g++ STRIP = i386-mingw32-strip else -CC = i586-mingw32msvc-gcc -CXX = i586-mingw32msvc-g++ -LD = i586-mingw32msvc-g++ -STRIP = i586-mingw32msvc-strip +CC = i686-w64-mingw32-gcc +CXX = i686-w64-mingw32-g++ +LD = i686-w64-mingw32-g++ +STRIP = i686-w64-mingw32-strip endif GMPDIR=../gmp-4.3.2-mingw32 @@ -24,7 +24,7 @@ HAVES = -DHAVE_VSSCANF -DHAVE_FCNTL -DHAVE_UNISTD_H -DHAVE_FORK -DHAVE_PIPE -DH CPPFLAGS += $(INCLUDES) -g -DSTDC_HEADERS -DREADLINE_STATIC -DHOOK_STDS -DWORDS_LITTLEENDIAN -fexceptions -march=i686 $(HAVES) -LDFLAGS += -g -fexception -shared ../lua-interface/lua-interface.a -Wl,--enable-auto-image-base --export-all-symbols -Wl,--enable-auto-import +LDFLAGS += -g -fexception -shared ../lua-interface/lua-interface.a -Wl,--enable-auto-image-base -Wl,--export-all-symbols -Wl,--enable-auto-import GMP_LIBS=-Wl,--whole-archive $(GMPLIBDIR)/libgmpxx.a $(GMPLIBDIR)/libgmp.a -Wl,--no-whole-archive |