diff options
author | Haochen Tong | 2019-03-20 10:47:22 +0100 |
---|---|---|
committer | Haochen Tong | 2019-03-20 10:47:22 +0100 |
commit | c8fe13a176da7101ac3f2174b35a06ddfe50bdb1 (patch) | |
tree | db0215df282952eb831d8d939d8c4fcf7d42db3e /PKGBUILD | |
parent | f874bf6649dd4275dd708401ba505271737a9061 (diff) | |
download | aur-c8fe13a176da7101ac3f2174b35a06ddfe50bdb1.tar.gz |
Fix building on Linux 5+
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -74,6 +74,9 @@ build() { export CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -Wno-error=deprecated-declarations -Wno-error=stringop-overflow= -Wno-error=return-type -Wno-error=cpp -fno-lifetime-dse -fno-delete-null-pointer-checks" export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" + # Fix building on Linux 5+ https://github.com/JetBrains/jdk8u/issues/16 + export DISABLE_HOTSPOT_OS_VERSION_CHECK=ok + install -d -m 755 "${srcdir}/${_prefix}/" sh configure \ --prefix="${srcdir}/${_prefix}" \ |