From 91ffbdb8eccdfcb5adc68838d807e0c296e9ce35 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Sun, 13 Dec 2009 22:41:31 -0500 Subject: Cleaned up Makefile, Added -fstack-protector to cflags --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6d378dc..50e8ff2 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ ifeq ($(shell uname -m), x86_64) M32=-m32 endif -CC = gcc ${M32} -pipe +CC = gcc ${M32} PLATFORM = $(shell uname) @@ -14,14 +14,14 @@ else MAKE = make endif -OPT = -g -fno-strict-aliasing -O2 ${M32} +OPT = -pipe -g -fno-strict-aliasing -O2 -Wall ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN) OS_TYPE = -DCYGWIN -CFLAGS = $(OPT) -Wall -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE) +CFLAGS = $(OPT) -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE) else OS_TYPE = -CFLAGS = $(OPT) -Wall -Wno-pointer-sign -I../common $(PACKETDEF) $(OS_TYPE) +CFLAGS = $(OPT) -fstack-protector -Wno-pointer-sign -I../common $(PACKETDEF) $(OS_TYPE) endif MKDEF = CC="$(CC)" CFLAGS="$(CFLAGS)" -- cgit v1.2.3-70-g09d2