summaryrefslogtreecommitdiff
path: root/memdisk/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-23 21:11:36 +0000
committerhpa <hpa>2005-08-23 21:11:36 +0000
commitaea77f706dc62f6a674e3a349c977f380f35977b (patch)
tree34f249ef48eb96f91976efa0d86196490d9e8d00 /memdisk/Makefile
parenta68c07995cc5e7ff18c1a7535cbfeca15f2bbeb5 (diff)
downloadsyslinux-aea77f706dc62f6a674e3a349c977f380f35977b.tar.gz
* -ffreestandingsyslinux-3.10-pre21
* handle systems where a reset HD fails without HDs * allow the user to select a different disk number (experimental)
Diffstat (limited to 'memdisk/Makefile')
-rw-r--r--memdisk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/memdisk/Makefile b/memdisk/Makefile
index ed573525..b896577e 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -18,8 +18,9 @@ gcc_ok = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \
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)
+CC = gcc $(M32) $(FREE)
CFLAGS = -g -W -Wall -Wno-sign-compare \
-Os -fomit-frame-pointer -march=i386 $(ALIGN) \
-DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'