1 |
ingmar 08/04/14 21:51:16 |
2 |
|
3 |
Modified: qt4-build.eclass |
4 |
Log: |
5 |
Add a pch USE flag to Qt:4 split ebuilds, bug 217712. |
6 |
|
7 |
Revision Changes Path |
8 |
1.12 eclass/qt4-build.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-build.eclass?rev=1.12&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-build.eclass?rev=1.12&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-build.eclass?r1=1.11&r2=1.12 |
13 |
|
14 |
Index: qt4-build.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v |
17 |
retrieving revision 1.11 |
18 |
retrieving revision 1.12 |
19 |
diff -u -r1.11 -r1.12 |
20 |
--- qt4-build.eclass 10 Apr 2008 14:23:45 -0000 1.11 |
21 |
+++ qt4-build.eclass 14 Apr 2008 21:51:15 -0000 1.12 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 2007-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.11 2008/04/10 14:23:45 ingmar Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.12 2008/04/14 21:51:15 ingmar Exp $ |
27 |
|
28 |
# @ECLASS: qt4-build.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -11,7 +11,7 @@ |
31 |
|
32 |
inherit eutils multilib toolchain-funcs flag-o-matic |
33 |
|
34 |
-IUSE="${IUSE} debug" |
35 |
+IUSE="${IUSE} debug pch" |
36 |
|
37 |
case "${PV}" in |
38 |
4.4.0_beta*) |
39 |
@@ -146,6 +146,13 @@ |
40 |
myconf="${myconf} -no-reduce-exports" |
41 |
fi |
42 |
|
43 |
+ # precompiled headers doesn't work on hardened, where the flag is masked. |
44 |
+ if use pch; then |
45 |
+ myconf="${myconf} -pch" |
46 |
+ else |
47 |
+ myconf="${myconf} -no-pch" |
48 |
+ fi |
49 |
+ |
50 |
if use debug; then |
51 |
myconf="${myconf} -debug -no-separate-debug-info" |
52 |
else |
53 |
|
54 |
|
55 |
|
56 |
-- |
57 |
gentoo-commits@l.g.o mailing list |