summaryrefslogtreecommitdiff
path: root/sample/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-03 08:23:16 +0000
committerhpa <hpa>2005-01-03 08:23:16 +0000
commitdea185cee5808a3fda7d84f0e8683c2d08c71395 (patch)
tree94776ec966887d9181aa90641cf7c0a2d49317bf /sample/Makefile
parentbf6a57a72c2c6f6d1589e266f790e61e6bb69a9d (diff)
downloadsyslinux-dea185cee5808a3fda7d84f0e8683c2d08c71395.tar.gz
Clean up compile problems.
Diffstat (limited to 'sample/Makefile')
-rw-r--r--sample/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/Makefile b/sample/Makefile
index 79b06929..8bf7d880 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -18,7 +18,7 @@
gcc_ok = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \
then echo $(1); else echo $(2); fi)
-M32 := $(call gcc_ok,-m32,)
+M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-ffreestanding,)
CC = gcc $(M32)
LD = ld -m elf_i386