aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-01 00:29:55 +0000
committerhpa <hpa>2004-12-01 00:29:55 +0000
commitc3ad9c5e8cf4716f5f8a1933bb6e638745cc95a0 (patch)
tree483df0cb52f3cb3b4cde205f84636782e814632e /com32/lib
parentdf7a8e774d0236575a33cf348d204b29f95925b5 (diff)
downloadsyslinux-elf-c3ad9c5e8cf4716f5f8a1933bb6e638745cc95a0.tar.gz
syslinux-elf-c3ad9c5e8cf4716f5f8a1933bb6e638745cc95a0.tar.xz
syslinux-elf-c3ad9c5e8cf4716f5f8a1933bb6e638745cc95a0.zip
Allow compiling for both Linux and COM32: Makefile cleanups
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/MCONFIG2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index c79e1f84..f1874dca 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -8,7 +8,7 @@ PERL = perl
STRIP = strip --strip-all -R .comment -R .note
OBJCOPY = objcopy
-REQFLAGS = -g -m32 -I. -I./sys -I../include
+REQFLAGS = -g -m32 -D__COM32__ -I. -I./sys -I../include
OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-labels=0
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline