From cb073f8386d9219a4e18854b97f3a7de67da1127eeab3ff03ef866473f8d374c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 3 Dec 2008 10:08:54 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/games/scummvm?expand=0&rev=6 --- scummvm-cflags.diff | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 scummvm-cflags.diff diff --git a/scummvm-cflags.diff b/scummvm-cflags.diff new file mode 100644 index 0000000..d4ff2cb --- /dev/null +++ b/scummvm-cflags.diff @@ -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