]> thyrsus.com Git - tetrix.git/commitdiff
Modern gcc throws a stack-smashing warning that seems to be spurious.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 5 Apr 2015 09:55:05 +0000 (05:55 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 5 Apr 2015 09:55:05 +0000 (05:55 -0400)
Makefile

index 919a4fb123e2845d580cc3523fadf9ed032e93eb..7c53ac7aaf243af504669991c7f4b0b1a25af9b0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@
 
 VERS=$(shell sed <tetrix.spec -n -e '/Version: \(.*\)/s//\1/p')
 
-CFLAGS=-O -DIBM
+CFLAGS=-O -DIBM -fno-stack-protector
 LFLAGS = -s
 OBJS= MoveR.o MoveL.o DrawP.o AdvanceP.o Rotate.o Colors.o tet.o
 INCS= tet.h