From 765f773e42540ed754237ea5b006b9a4026c679c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Fri, 14 Mar 2014 13:23:26 +0100 Subject: [PATCH] set CFLAGS to -O2 --- wxPython.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython.spec b/wxPython.spec index 4f6758e..d6bb295 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -61,7 +61,7 @@ Documentation, samples and demo application for wxPython. %patch1 -p1 -b .format # fix libdir otherwise additional wx libs cannot be found, fix default optimization flags -sed -i -e 's|/usr/lib|%{_libdir}|' -e 's|-O3||' wxPython/config.py +sed -i -e 's|/usr/lib|%{_libdir}|' -e 's|-O3|-O2|' wxPython/config.py %build