SPECS (DEVEL): mythplugins.spec - *this* build time cflags hack (o...
glen
glen at pld-linux.org
Fri Feb 3 02:07:17 CET 2006
Author: glen Date: Fri Feb 3 01:07:17 2006 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- *this* build time cflags hack (override libmyth buildtime flags)
---- Files affected:
SPECS:
mythplugins.spec (1.12.2.21 -> 1.12.2.22)
---- Diffs:
================================================================
Index: SPECS/mythplugins.spec
diff -u SPECS/mythplugins.spec:1.12.2.21 SPECS/mythplugins.spec:1.12.2.22
--- SPECS/mythplugins.spec:1.12.2.21 Fri Feb 3 01:58:48 2006
+++ SPECS/mythplugins.spec Fri Feb 3 02:07:12 2006
@@ -322,8 +322,15 @@
%{!?with_mythcontrols:--disable-mythcontrols} \
%{!?with_mythflix:--disable-mythflix} \
-echo 'QMAKE_CXX=%{__cxx}' >> settings.pro
-echo 'QMAKE_CC=%{__cc}' >> settings.pro
+mv mythconfig.mak mythconfig.mak.old
+cp mythconfig.mak.old mythconfig.mak
+cat <<'EOF'>> mythconfig.mak
+QMAKE_CXX=%{__cxx}
+QMAKE_CC=%{__cc}
+OPTFLAGS=%{rpmcflags} -Wall -Wno-switch
+ECFLAGS=%{rpmcflags} -fomit-frame-pointer
+ECXXFLAGS=%{rpmcflags} -fomit-frame-pointer
+EOF
%{__make}
%endif
@@ -630,6 +637,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12.2.22 2006/02/03 01:07:12 glen
+- *this* build time cflags hack (override libmyth buildtime flags)
+
Revision 1.12.2.21 2006/02/03 00:58:48 glen
- checked and added configure options
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mythplugins.spec?r1=1.12.2.21&r2=1.12.2.22&f=u
More information about the pld-cvs-commit
mailing list