Skip to content

Commit

Permalink
Update Makefile for 32-bit gcc builds
Browse files Browse the repository at this point in the history
John M. found that -march=i686 is needed for 32-bit systems, particularly if you're running a 32-bit linux OS on a 64-bit CPU.
  • Loading branch information
hoche authored Feb 19, 2020
1 parent 2f795e0 commit b5c5e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ OS:=$(shell uname)
ifdef GXX
CC=gcc
CXX=g++
CPPFLAGS_32:=
CPPFLAGS_32:=-march=i686
GCC_CFLAGS:=$(CPPFLAGS_$(ARCH))
else
CC=clang
Expand Down

0 comments on commit b5c5e63

Please sign in to comment.