Specify a 32 bit architecture
authorRhett <rhett.aultman@meraki.net>
Sun, 1 Sep 2013 00:38:33 +0000 (17:38 -0700)
committerRhett <rhett.aultman@meraki.net>
Sun, 1 Sep 2013 00:38:33 +0000 (17:38 -0700)
GNUmakefile

index af51d0fccb2cfcb2a089beddbcb80df706cb30a8..29875d5781699bdd6d0a5ddae51c7783e9346411 100644 (file)
@@ -36,7 +36,7 @@ PERL  := perl
 # Compiler flags
 # -fno-builtin is required to avoid refs to undefined functions in the kernel.
 # Only optimize to -O1 to discourage inlining, which complicates backtraces.
-CFLAGS := $(CFLAGS) $(DEFS) $(LABDEFS) -O -fno-builtin -I$(TOP) -MD -Wall -Wno-format -Wno-unused -Werror -gstabs -fno-stack-protector -std=gnu99
+CFLAGS := $(CFLAGS) $(DEFS) $(LABDEFS) -O -fno-builtin -I$(TOP) -MD -Wall -Wno-format -Wno-unused -Werror -gstabs -fno-stack-protector -std=gnu99 -m32
 
 # Lists that the */Makefrag makefile fragments will add to
 OBJDIRS :=