Author: coolo Date: Wed Dec 12 08:59:33 2007 New Revision: 43007 URL: http://svn.opensuse.org/viewcvs/yast?rev=43007&view=rev Log: correctly pass the opt flags Modified: trunk/qt4/yast2-qt4.spec.in Modified: trunk/qt4/yast2-qt4.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/yast2-qt4.spec.in?rev=43007&r1=43006&r2=43007&view=diff ============================================================================== --- trunk/qt4/yast2-qt4.spec.in (original) +++ trunk/qt4/yast2-qt4.spec.in Wed Dec 12 08:59:33 2007 @@ -25,10 +25,10 @@ %build mkdir build cd build +export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$CFLAGS" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB=%{_lib} \ - -DCMAKE_C_FLAGS="%{optflags}" \ - -DCMAKE_CXX_FLAGS="%{optflags}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ .. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org