From 490c66335c143f020c21cc431a656b3517b491b3 Mon Sep 17 00:00:00 2001 From: ppescher Date: Thu, 11 Jun 2015 18:51:15 +0200 Subject: [PATCH] added build flags to target 32-bit os --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index a7b45f09..fce4e858 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,8 @@ ifeq ($(OS),MINGW32) EXE=.exe COMMON_SRCS+=WinSerialPort.cpp WinPortFactory.cpp COMMON_LDFLAGS=-Wl,--enable-auto-import -static -static-libstdc++ -static-libgcc +COMMON_CXXFLAGS+=-m32 +COMMON_LDFLAGS+=-m32 COMMON_LIBS=-Wl,--as-needed -lsetupapi BOSSA_RC=BossaRes.rc WIXDIR="C:\Program Files (x86)\Windows Installer XML v3.5\bin"