diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-06-22 08:50:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:01:00 -0500 |
commit | e085261e312719d2e0f41862385e4f45f418d671 (patch) | |
tree | 64baecb9109fb3268490a1b0d5ef327de7d62004 /ham/svxlink/svxlink.SlackBuild | |
parent | 05be5db8f99084024873b91c6df2facff09028bb (diff) |
ham/svxlink: Patched for gcc >= 6.x.
Added -fpermissive to the CXXFLAGS
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'ham/svxlink/svxlink.SlackBuild')
-rw-r--r-- | ham/svxlink/svxlink.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ham/svxlink/svxlink.SlackBuild b/ham/svxlink/svxlink.SlackBuild index 486723dbbc1b..b1165941f3c4 100644 --- a/ham/svxlink/svxlink.SlackBuild +++ b/ham/svxlink/svxlink.SlackBuild @@ -107,12 +107,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# From upstream +patch -p2 < $CWD/gcc6.patch + mkdir -p build cd build cmake \ $BUILD_QTEL \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/etc \ -DLOCAL_STATE_DIR=/var \ |