Skip to content

Commit

Permalink
development/hte: Fix build with newer gcc.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
  • Loading branch information
aclemons authored and willysr committed Mar 7, 2022
1 parent c15d6fd commit bc676f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions development/hte/hte.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bc676f8

Please sign in to comment.