Skip to content

Commit

Permalink
build: in Makefile.m32 add -m32 flag for 32bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gknauf committed Nov 18, 2014
1 parent e126ec4 commit 4bc47be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Makefile.m32
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/Makefile.m32
Expand Up @@ -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
Expand Down

0 comments on commit 4bc47be

Please sign in to comment.