]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
better fit mingw on Arch Linux
authorRudolf Polzer <divverent@alientrap.org>
Fri, 13 Jan 2012 22:28:18 +0000 (23:28 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 13 Jan 2012 22:28:18 +0000 (23:28 +0100)
Makefile
cross-Makefile.conf

index 5a9f292360d13c8b57b2a6effb8250a60133999e..0fc502edbd54e455e68a434b0fce57e88e76dace 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,7 @@ else
 ifeq ($(OS),Win32)
        CPPFLAGS_COMMON += -DWIN32 -D_WIN32 -D_inline=inline
        CFLAGS_COMMON += -mms-bitfields
-       LDFLAGS_DLL = --dll -Wl,--add-stdcall-alias
+       LDFLAGS_DLL = -mdll -Wl,--add-stdcall-alias
        LIBS_COMMON = -lws2_32 -luser32 -lgdi32 -lole32
        EXE ?= exe
        A = a
index 2b44320d998e6a08251fdb76bbf3e68375f3dcbc..bf4ae3a83d95943c1a97eec7b9d0f10a530fa6bc 100644 (file)
@@ -3,7 +3,7 @@
 # edit the paths in here
 
 # how to call the mingw tools
-MINGW_EXEC_PREFIX = i586-mingw32msvc-
+MINGW_EXEC_PREFIX = i486-mingw32-
 
 # use mingw32
 include mingw-Makefile.inc