1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.130 2012/05/22 13:41:59 pesa Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.131 2012/05/25 12:06:05 pesa Exp $ |
4 | |
4 | |
5 | # @ECLASS: qt4-build.eclass |
5 | # @ECLASS: qt4-build.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # Qt herd <qt@gentoo.org> |
7 | # Qt herd <qt@gentoo.org> |
8 | # @BLURB: Eclass for Qt4 split ebuilds. |
8 | # @BLURB: Eclass for Qt4 split ebuilds. |
… | |
… | |
415 | conf+=" -no-separate-debug-info" |
415 | conf+=" -no-separate-debug-info" |
416 | |
416 | |
417 | # exceptions USE flag |
417 | # exceptions USE flag |
418 | conf+=" $(in_iuse exceptions && qt_use exceptions || echo -exceptions)" |
418 | conf+=" $(in_iuse exceptions && qt_use exceptions || echo -exceptions)" |
419 | |
419 | |
420 | # disable RPATH on Qt >= 4.8 (bug 380415) |
420 | # disable rpath on Qt >= 4.8 (bug 380415) |
|
|
421 | # but leave it enabled on prefix (bug 417169) |
421 | version_is_at_least 4.8 && conf+=" -no-rpath" |
422 | version_is_at_least 4.8 && use !prefix && conf+=" -no-rpath" |
422 | |
423 | |
423 | # precompiled headers don't work on hardened, where the flag is masked |
424 | # precompiled headers don't work on hardened, where the flag is masked |
424 | conf+=" $(qt_use pch)" |
425 | conf+=" $(qt_use pch)" |
425 | |
426 | |
426 | # -reduce-relocations |
427 | # -reduce-relocations |