Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 94524cb747ef2eba12e65ac0364be254 > files > 2

angband-3.5.1-1.mga5.src.rpm

Index: angband-3.5.0/src/Makefile
===================================================================
--- angband-3.5.0/src/Makefile
+++ angband-3.5.0/src/Makefile	2014-12-05 23:24:02.554270039 +0100
@@ -13,7 +13,7 @@
 	CFLAGS += -DBUILD_ID=${VERSION}
 endif
 
-CFLAGS += -I. -std=c99 -Wdeclaration-after-statement -O0
+CFLAGS += -I. -std=c99 -Wdeclaration-after-statement
 
 # gcov intermediate data
 GCOBJS = $(OBJECTS:.o=.gcno) $(OBJECTS:.o=.gcda)
Index: angband-3.5.0/src/Makefile.std
===================================================================
--- angband-3.5.0/src/Makefile.std
+++ angband-3.5.0/src/Makefile.std	2014-12-05 23:24:16.360620519 +0100
@@ -48,8 +48,6 @@
 
 # Basic compiler stuff
 CC = gcc
-WARNINGS = -W -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-security -Winit-self -Wmissing-include-dirs -Wundef -Wmissing-format-attribute -Wnested-externs -Wunreachable-code -Wno-unused-parameter -Wno-missing-field-initializers
-CFLAGS = -O0 -g $(WARNINGS)
 
 # Add additional search directives here
 # Example: -I/usr/X11R6/include -I/usr/include/ncurses