aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/MCONFIG
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-28 01:50:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-28 01:50:09 -0700
commit3f31b9852c313b6b9a670e9c202a7fb339e5d448 (patch)
tree44421a18e2e2c636683aa20940700e3e3425b3b8 /com32/lib/MCONFIG
parent185b1c3a6c1f3ba8566507f1d8fe555480495a9c (diff)
downloadsyslinux.git-3f31b9852c313b6b9a670e9c202a7fb339e5d448.tar.gz
syslinux.git-3f31b9852c313b6b9a670e9c202a7fb339e5d448.tar.xz
syslinux.git-3f31b9852c313b6b9a670e9c202a7fb339e5d448.zip
Work on getting libpng to actually do something useful...
Diffstat (limited to 'com32/lib/MCONFIG')
-rw-r--r--com32/lib/MCONFIG12
1 files changed, 9 insertions, 3 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index 35d34d7c..1263b516 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -12,12 +12,18 @@ OBJCOPY = objcopy
# zlib and libpng configuration flags
LIBFLAGS = -DDYNAMIC_CRC_TABLE -DPNG_NO_CONSOLE_IO \
- -DPNG_NO_MNG_FEATURES -DPNG_NO_FLOATING_POINT_SUPPORTED \
- -DPNG_NO_WRITE_FLUSH -DPNG_NO_WRITE_tIME -DPNG_NO_READ_tIME
+ -FPNG_NO_WRITE_SUPPORTED \
+ -DPNG_NO_MNG_FEATURES \
+ -DPNG_NO_READ_tIME -DPNG_NO_WRITE_tIME
+
+# We need some features in libpng which apparently aren't available in the
+# fixed-point versions. It's OK, because we have to have a non-graphical
+# fallback anyway, just use that on old machines...
+# LIBFLAGS += -DPNG_NO_FLOATING_POINT_SUPPORTED
REQFLAGS = -g -m32 -mregparm=3 -DREGPARM=3 -D__COM32__ -I. -I./sys -I../include
OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 \
- -falign-labels=0
+ -falign-labels=0 -ffast-math
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
CFLAGS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) \