summaryrefslogtreecommitdiff
path: root/sample/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-01-28 16:53:07 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-01-28 16:53:07 -0800
commit248a5f1dd85f7619d044cbd498afce24345563a5 (patch)
tree04d5b0203e0115fc4b1f1196bc31ceef5b43e53b /sample/Makefile
parent1f7382b2e789b30992f935c471ef154b63cf5b83 (diff)
downloadsyslinux-248a5f1dd85f7619d044cbd498afce24345563a5.tar.gz
Remove -m32 from the CC variable globally.
Diffstat (limited to 'sample/Makefile')
-rw-r--r--sample/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/Makefile b/sample/Makefile
index b92f820b..14089060 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -19,12 +19,12 @@ gcc_ok = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-ffreestanding,)
-CC = gcc $(M32)
+CC = gcc
LD = ld -m elf_i386
AR = ar
NASM = nasm
RANLIB = ranlib
-CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include
+CFLAGS = $(M32) -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include
SFLAGS = -march=i386
LDFLAGS = -s
OBJCOPY = objcopy