[Lunar-commits] <moonbase> qt4: add cflags instead of bare O2

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Dec 5 15:05:02 CET 2009


commit ded184785adc618af4e8e49eaf42f7d7e4d06541
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Dec 5 15:05:02 2009 +0100

    qt4: add cflags instead of bare O2
---
 kde4/base/qt4/BUILD |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kde4/base/qt4/BUILD b/kde4/base/qt4/BUILD
index 60475e9..c616cfd 100644
--- a/kde4/base/qt4/BUILD
+++ b/kde4/base/qt4/BUILD
@@ -5,6 +5,7 @@
   export LD_LIBRARY_PATH=$QTDIR/lib
 
   sedit "s:COMMERCIAL_USER=ask:COMMERCIAL_USER=no:" configure &&
+  sedit "s/-O2/$CFLAGS/" mkspecs/common/g++.conf &&
 
   if module_installed phonon ; then
     OPTS+=" -phonon -phonon-backend"


More information about the Lunar-commits mailing list