Skip to content

Commit 490c663

Browse files
committed
added build flags to target 32-bit os
1 parent eb16dbb commit 490c663

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ ifeq ($(OS),MINGW32)
3737
EXE=.exe
3838
COMMON_SRCS+=WinSerialPort.cpp WinPortFactory.cpp
3939
COMMON_LDFLAGS=-Wl,--enable-auto-import -static -static-libstdc++ -static-libgcc
40+
COMMON_CXXFLAGS+=-m32
41+
COMMON_LDFLAGS+=-m32
4042
COMMON_LIBS=-Wl,--as-needed -lsetupapi
4143
BOSSA_RC=BossaRes.rc
4244
WIXDIR="C:\Program Files (x86)\Windows Installer XML v3.5\bin"

0 commit comments

Comments
 (0)