mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 07:22:56 +02:00
qt5-webkit: fix gcc6 build
This commit is contained in:
parent
a356c3211a
commit
f10f66f4f7
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ homepage="https://www.qt.io/"
|
|||
distfiles="https://download.qt.io/community_releases/${version%.*}/${version}/qtwebkit-opensource-src-${version}.tar.xz"
|
||||
checksum=f5cfbfa5fad2b65a9be907d426f99694b86a04c3bb5a8814b21bd0ade4c672aa
|
||||
|
||||
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
||||
CXXFLAGS="-fno-delete-null-pointer-checks"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
# Generate headers
|
||||
syncqt.pl-qt5 -version 5.6.0 Source/sync.profile
|
||||
|
|
Loading…
Add table
Reference in a new issue