diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-06 19:51:13 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-07 08:45:30 +0700 |
commit | bc676f84648489902d42eab274ae51d363fb9ab2 (patch) | |
tree | 51e05c03e2b24f4e1a5ecb3d1e475a143334798b /development | |
parent | c15d6fd7da0a19f7fc93596c18467531bad55945 (diff) | |
download | slackbuilds-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.SlackBuild | 2 |
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 |