From: Rudolf Polzer Date: Fri, 13 Jan 2012 22:28:18 +0000 (+0100) Subject: better fit mingw on Arch Linux X-Git-Tag: xonotic-v0.6.0~29^2~2 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=8ecf001ea472d7eca1912b6c6bc02508f4c24fd1;hp=a4ac339ea7730953d0341a47d181e0f9ee3146d9 better fit mingw on Arch Linux --- diff --git a/Makefile b/Makefile index 5a9f2923..0fc502ed 100644 --- 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 diff --git a/cross-Makefile.conf b/cross-Makefile.conf index 2b44320d..bf4ae3a8 100644 --- a/cross-Makefile.conf +++ b/cross-Makefile.conf @@ -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