File pcsx2-optflags.patch of Package pcsx2

--- build.sh
+++ build.sh
@@ -5,6 +5,8 @@
 # Modify the individual build.sh for specific program options like debug symbols
 export PCSX2OPTIONS="--enable-devbuild --enable-sse2 --prefix `pwd`"
 export PCSX2PLUGINS="`pwd`/bin/plugins"
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
 curdir=`pwd`
 
 cd ${curdir}/plugins
openSUSE Build Service is sponsored by