]> granicus.if.org Git - curl/commitdiff
build: in Makefile.m32 add -m32 flag for 32bit.
authorGuenter Knauf <lists@gknw.net>
Tue, 18 Nov 2014 13:25:41 +0000 (14:25 +0100)
committerGuenter Knauf <lists@gknw.net>
Tue, 18 Nov 2014 13:25:41 +0000 (14:25 +0100)
lib/Makefile.m32
src/Makefile.m32

index cb301c3837c1075a06e5d0bfc3ac8ded6646fb19..d0ac77b1058213a46ea55e78d760f97db2024b44 100644 (file)
@@ -64,6 +64,8 @@ CFLAGS        = -g -O2 -Wall
 CFLAGS += -fno-strict-aliasing
 ifeq ($(ARCH),w64)
 CFLAGS += -D_AMD64_
+else
+CFLAGS += -m32
 endif
 # comment LDFLAGS below to keep debug info
 LDFLAGS        = -s
index 614c2b637f243939a326f93e42f9c232a0755786..ac1c0b8353929d678ea2fb2ea21ef0ca86785111 100644 (file)
@@ -76,6 +76,8 @@ CFLAGS        = -g -O2 -Wall
 CFLAGS += -fno-strict-aliasing
 ifeq ($(ARCH),w64)
 CFLAGS += -D_AMD64_
+else
+CFLAGS += -m32
 endif
 # comment LDFLAGS below to keep debug info
 LDFLAGS        = -s