summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-05-09 19:09:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:23:14 -0500
commit719ad97ef4c4ec0ec63a44a2a499333deb1c273e (patch)
treed0b8ac2532f495637bbb9a738518458759faf6dc
parentfcd8c1046f86bd5f499e75718f228f5a82892f96 (diff)
downloadslackbuilds-719ad97ef4c4ec0ec63a44a2a499333deb1c273e.tar.gz
network/freerdp: Pass -fcommon for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/freerdp/freerdp.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild
index 3b9edaa061..8b1386b761 100644
--- a/network/freerdp/freerdp.SlackBuild
+++ b/network/freerdp/freerdp.SlackBuild
@@ -85,7 +85,7 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $(pkg-config --cflags gstreamer-base-1.0)" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $(pkg-config --cflags gstreamer-base-1.0) -fcommon" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_CUPS=ON \
-DWITH_FFMPEG=$WITH_FFMPEG \