summaryrefslogtreecommitdiff
blob: aae58b26974e26a3b2e41a255fda50b8b87defa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2004-11-12 12:16:25.000000000 +0000
+++ Makefile	2005-01-02 18:52:28.013459832 +0000
@@ -12,7 +12,7 @@
 #
 # gcc compiler options, these settings should suffice
 #
-CCFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding
+CCFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector
 
 AS=as -32
 
@@ -24,7 +24,7 @@
 	$(CC) -c -m32 -fPIC -Wall -O -fno-strict-aliasing reloc.c
 
 test.o: test.c test.h defs.h config.h
-	$(CC) -c $(CCFLAGS) test.c
+	$(CC) -c $(CCFLAGS) -fno-PIC test.c
 
 main.o: main.c test.h defs.h
 	$(CC) -c $(CCFLAGS) -fPIC main.c