aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-04 03:05:17 +0000
committerhpa <hpa>2005-01-04 03:05:17 +0000
commit33ce5ad4ec54bac0d19753f7118174c26ccdc6db (patch)
tree291679575fc00d6024cad3ad794ffdda0b798608 /com32/samples/Makefile
parent6c00ab2e9e714d5963f3dcf85c7dd100e02a08d1 (diff)
downloadsyslinux-elf-33ce5ad4ec54bac0d19753f7118174c26ccdc6db.tar.gz
syslinux-elf-33ce5ad4ec54bac0d19753f7118174c26ccdc6db.tar.xz
syslinux-elf-33ce5ad4ec54bac0d19753f7118174c26ccdc6db.zip
Build native (not necessarily i386) binaries
Diffstat (limited to 'com32/samples/Makefile')
-rw-r--r--com32/samples/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/samples/Makefile b/com32/samples/Makefile
index 97985afa..709f4ca8 100644
--- a/com32/samples/Makefile
+++ b/com32/samples/Makefile
@@ -20,14 +20,14 @@ gcc_ok = $(shell if gcc $(1) -c -x c /dev/null -o /dev/null 2>/dev/null; \
M32 := $(call gcc_ok,-m32,)
-CC = gcc $(M32)
+CC = gcc
LD = ld -m elf_i386
AR = ar
NASM = nasm
RANLIB = ranlib
-CFLAGS = -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
-LNXCFLAGS = -W -Wall -march=i386 -Os -g -I../libutil/include
-LNXSFLAGS = -march=i386
+CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
+LNXCFLAGS = -W -Wall -O -g -I../libutil/include
+LNXSFLAGS = -g
LNXLDFLAGS = -g
SFLAGS = -D__COM32__ -march=i386
LDFLAGS = -T ../lib/com32.ld