diff options
author | MadCamel <madcamel@gmail.com> | 2009-12-13 22:41:31 -0500 |
---|---|---|
committer | MadCamel <madcamel@gmail.com> | 2009-12-13 22:41:31 -0500 |
commit | 91ffbdb8eccdfcb5adc68838d807e0c296e9ce35 (patch) | |
tree | 916d528710bfccffbe57830407b87bfa3b6931f2 | |
parent | 6e42644247e80667db4d39c3a0e543d9476f9c87 (diff) | |
download | tmwa-91ffbdb8eccdfcb5adc68838d807e0c296e9ce35.tar.gz tmwa-91ffbdb8eccdfcb5adc68838d807e0c296e9ce35.tar.bz2 tmwa-91ffbdb8eccdfcb5adc68838d807e0c296e9ce35.tar.xz tmwa-91ffbdb8eccdfcb5adc68838d807e0c296e9ce35.zip |
Cleaned up Makefile, Added -fstack-protector to cflags
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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)" |