summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjohnnybash2021-01-15 17:43:44 +0100
committerjohnnybash2021-01-15 17:43:44 +0100
commit9ee006ccb2000b27ce3dc79140e7f30cdfbd7768 (patch)
treed541aa6a6307f223960dd5c5c5f2f2a7c0bb2473 /PKGBUILD
parentae7995211b53598fad5ec1a36b0aa82b2c8ad601 (diff)
downloadaur-9ee006ccb2000b27ce3dc79140e7f30cdfbd7768.tar.gz
upgpkg: ntopng 4.2-1
upstream release fix build error
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 809b9352ecc4..562a7a53f1f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,6 +29,8 @@ sha512sums=('e89ec3f35644ae8bc570d9802ecfadbf0067145e23a589df2032e8781e9c954f416
'bb7f81a43e6bd1d58e41693dca1b5f03e507fb040bf036a5847a273f55bcfa665e8512220a54495c2926afb64e786d4e666556d7880be432cc7660de105e3ee4')
build() {
+ # export cppflags to fix build error, see https://github.com/ntop/nDPI/issues/1115
+ export CPPFLAGS='-D_FORTIFY_SOURCE=2 -O2'
cd $srcdir/nDPI-$_ndpiver
./autogen.sh
./configure