qt5: set C{,XX}FLAGS in toplevel to not override them.

This commit is contained in:
Juan RP 2016-03-30 17:13:09 +02:00
parent c0f7cf92c7
commit e505713113
1 changed files with 4 additions and 3 deletions

View File

@ -27,6 +27,10 @@ makedepends="
depends="qtchooser"
replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0"
# Work around SSLv3_{client,server}_method missing in libressl-2.3.3
CFLAGS="-DOPENSSL_NO_SSL3_METHOD"
CXXFLAGS="-DOPENSSL_NO_SSL3_METHOD"
_move_examples() {
if [ -d ${PKGDESTDIR}/usr/share/qt5/examples ]; then
# The help files (*.qch) are in qt5-doc
@ -87,9 +91,6 @@ pre_configure() {
}
do_configure() {
export LD="$CXX"
# Work around SSLv3_{client,server}_method missing in libressl-2.3.3
export CFLAGS="-DOPENSSL_NO_SSL3_METHOD"
export CXXLAGS="-DOPENSSL_NO_SSL3_METHOD"
unset CPP AR AS RANLIB
local opts="-confirm-license -opensource \
-prefix /usr \