blob: 1390e17d478f46ea93f65321c0e9366cb2f00fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
diff -Nru syslinux-2.09/Makefile syslinux-2.09-solar/Makefile
--- syslinux-2.09/Makefile 2004-02-02 03:47:24.000000000 -0500
+++ syslinux-2.09-solar/Makefile 2004-04-28 23:43:00.000000000 -0400
@@ -18,7 +18,7 @@
OSTYPE = $(shell uname -msr)
CC = gcc
INCLUDE =
-CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -fno-stack-protector
PIC = -fPIC
LDFLAGS = -O2 -s
AR = ar
diff -Nru syslinux-2.09/memdisk/Makefile syslinux-2.09-solar/memdisk/Makefile
--- syslinux-2.09/memdisk/Makefile 2004-01-24 16:37:22.000000000 -0500
+++ syslinux-2.09-solar/memdisk/Makefile 2004-04-28 23:43:20.000000000 -0400
@@ -20,7 +20,7 @@
ALIGN := $(call gcc_ok,-falign-functions=0 -falign-jumps=0 -falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0)
CC = gcc $(M32)
-CFLAGS = -g -W -Wall -Os -fomit-frame-pointer -march=i386 $(ALIGN) \
+CFLAGS = -g -W -Wall -Os -fomit-frame-pointer -march=i386 $(ALIGN) -fno-stack-protector \
-DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'
LDFLAGS = -g
INCLUDE = -I../com32/include
diff -Nru syslinux-2.09/menu/Makefile syslinux-2.09-solar/menu/Makefile
--- syslinux-2.09/menu/Makefile 2004-02-25 01:48:05.000000000 -0500
+++ syslinux-2.09-solar/menu/Makefile 2004-04-28 23:43:50.000000000 -0400
@@ -5,7 +5,7 @@
ALIGN := $(call gcc_ok,-falign-functions=0 -falign-jumps=0 -falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0)
CC = gcc
-CFLAGS = $(M32) -funsigned-char -g -W -Wall -march=i386 $(ALIGN) -Os
+CFLAGS = $(M32) -funsigned-char -g -W -Wall -march=i386 $(ALIGN) -Os -fno-stack-protector
AR = ar
AS = as
LD = ld -m elf_i386
diff -Nru syslinux-2.09/sample/Makefile syslinux-2.09-solar/sample/Makefile
--- syslinux-2.09/sample/Makefile 2004-01-24 16:37:22.000000000 -0500
+++ syslinux-2.09-solar/sample/Makefile 2004-04-28 23:44:09.000000000 -0400
@@ -25,7 +25,7 @@
AR = ar
NASM = nasm
RANLIB = ranlib
-CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include
+CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include -fno-stack-protector
SFLAGS = -march=i386
LDFLAGS = -s
OBJCOPY = objcopy
|