summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-15 10:51:18 +0000
committerhpa <hpa>2004-12-15 10:51:18 +0000
commit95deb2509c3f9916527044751ca1221fa62f3b26 (patch)
tree85ed778448692354b23a858af689ce4ff5691187 /win32
parent907b549d585c74537b300c188b00d3a56d36cc7f (diff)
downloadsyslinux-95deb2509c3f9916527044751ca1221fa62f3b26.tar.gz
More adjustment to the Brave New World<TM>
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/win32/Makefile b/win32/Makefile
index f01369ab..c0894261 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -23,9 +23,9 @@ ifeq ($(findstring CYGWIN,$(OSTYPE)),CYGWIN)
CC = gcc
AR = ar
RANLIB = ranlib
-CFLAGS = -mno-cygwin -W -Wall -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+CFLAGS = -mno-cygwin -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
PIC =
-LDFLAGS = -mno-cygwin -O2 -s
+LDFLAGS = -mno-cygwin -Os -s
else
ifeq ($(findstring MINGW32,$(OSTYPE)),MINGW32)
CC = gcc
@@ -37,9 +37,9 @@ AR = mingw-ar
RANLIB = mingw-ranlib
endif
-CFLAGS = -W -Wall -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
PIC =
-LDFLAGS = -O2 -s
+LDFLAGS = -Os -s
endif
CFLAGS += -I. -I.. -I../libfat
@@ -76,6 +76,3 @@ syslinux.exe: $(OBJS)
$(CC) $(CFLAGS) -S -o $@ $<
-include .*.d
-
-
-