Skip to content

Commit

Permalink
force gcc to 32-bit mode for i386 builds on amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
twall committed May 30, 2013
1 parent 3704b23 commit 8f19978
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ ifeq ($(ARCH),ppc)
LD += -m32
HOST_CONFIG=--host=ppc-linux
endif
ifeq ($(ARCH),i386)
CC += -m32
LD += -m32
endif
endif
endif

Expand Down

0 comments on commit 8f19978

Please sign in to comment.