diff --git a/dlls/Makefile b/dlls/Makefile index c9abdca..d5c70cf 100644 --- a/dlls/Makefile +++ b/dlls/Makefile @@ -81,6 +81,7 @@ OSLIB = dylib endif ifneq (, $(findstring x86_64, $(SYS))) CFLAGS += -m32 +LDFLAGS += -m32 endif LDFLAGS += -shared -static-libgcc -static-libstdc++ -Wl,--no-undefined -Wl,--gc-sections -Wl,--strip-all diff --git a/dlls/Makefile.travis b/dlls/Makefile.travis index 9b6a8d6..f0d1569 100644 --- a/dlls/Makefile.travis +++ b/dlls/Makefile.travis @@ -84,6 +84,7 @@ LDFLAGS += -static-libstdc++ endif ifneq (, $(findstring x86_64, $(SYS))) CFLAGS += -m32 +LDFLAGS += -m32 endif LDFLAGS += -shared