aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
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 /memdisk
parent1f7382b2e789b30992f935c471ef154b63cf5b83 (diff)
downloadsyslinux-elf-248a5f1dd85f7619d044cbd498afce24345563a5.tar.gz
syslinux-elf-248a5f1dd85f7619d044cbd498afce24345563a5.tar.xz
syslinux-elf-248a5f1dd85f7619d044cbd498afce24345563a5.zip
Remove -m32 from the CC variable globally.
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/memdisk/Makefile b/memdisk/Makefile
index f628ff24..b983dfde 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -1,6 +1,6 @@
## -----------------------------------------------------------------------
##
-## Copyright 2001-2004 H. Peter Anvin - All Rights Reserved
+## Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -19,8 +19,8 @@ M32 := $(call gcc_ok,-m32,)
ALIGN := $(call gcc_ok,-falign-functions=0 -falign-jumps=0 -falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0)
FREE := $(call gcc_ok,-ffreestanding,)
-CC = gcc $(M32) $(FREE)
-CFLAGS = -g -W -Wall -Wno-sign-compare \
+CC = gcc
+CFLAGS = $(M32) $(FREE) -g -W -Wall -Wno-sign-compare \
-Os -fomit-frame-pointer -march=i386 $(ALIGN) \
-DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'
LDFLAGS = -g