This commit is contained in:
parent
a3eadec1aa
commit
cb073f8386
26
scummvm-cflags.diff
Normal file
26
scummvm-cflags.diff
Normal file
@ -0,0 +1,26 @@
|
||||
--- Makefile.orig 2006-05-28 12:27:43.041858713 +0200
|
||||
+++ Makefile 2006-05-28 12:28:26.485265934 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
# Enable even more warnings...
|
||||
CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wcast-align
|
||||
CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings
|
||||
+CXXFLAGS+= $(RPM_OPT_FLAGS) -fno-strict-aliasing
|
||||
|
||||
# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new
|
||||
--- tools/module.mk.orig 2005-07-04 10:24:38.268173325 +0200
|
||||
+++ tools/module.mk 2005-07-04 10:25:29.249315179 +0200
|
||||
@@ -27,11 +27,11 @@
|
||||
|
||||
tools/convbdf$(EXEEXT): $(srcdir)/tools/convbdf.c
|
||||
$(MKDIR) tools/$(DEPDIR)
|
||||
- $(CC) $(CFLAGS) -Wall -o $@ $<
|
||||
+ $(CC) $(RPM_OPT_FLAGS) -o $@ $<
|
||||
|
||||
tools/md5table$(EXEEXT): $(srcdir)/tools/md5table.c
|
||||
$(MKDIR) tools/$(DEPDIR)
|
||||
- $(CC) $(CFLAGS) -Wall -o $@ $<
|
||||
+ $(CC) $(RPM_OPT_FLAGS) -o $@ $<
|
||||
|
||||
#
|
||||
# Rules to explicitly rebuild the credits / MD5 tables
|
Loading…
Reference in New Issue
Block a user