summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-06 19:51:13 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-07 08:45:30 +0700
commitbc676f84648489902d42eab274ae51d363fb9ab2 (patch)
tree51e05c03e2b24f4e1a5ecb3d1e475a143334798b /development
parentc15d6fd7da0a19f7fc93596c18467531bad55945 (diff)
downloadslackbuilds-bc676f84648489902d42eab274ae51d363fb9ab2.tar.gz
development/hte: Fix build with newer gcc.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/hte/hte.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/development/hte/hte.SlackBuild b/development/hte/hte.SlackBuild
index 0f8957d130..614c661a18 100644
--- a/development/hte/hte.SlackBuild
+++ b/development/hte/hte.SlackBuild
@@ -83,6 +83,8 @@ find -L . \
# Thanks gentoo!
patch -p1 < $CWD/hteditor-2.1.0-gcc-7.patch
+SLKCFLAGS="$SLKCFLAGS -std=c++11 -Wno-narrowing"
+
# Respect our CFLAGS
sed -i "s|-O3 -fomit-frame-pointer -Wall -fsigned-char|$SLKCFLAGS|" configure