summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-05 18:46:22 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:18:56 -0500
commit5cfb69c6c9f966037fbc4a1554899ffd1c510989 (patch)
tree421d0147ef776c1462ef10c8cb097fc20d938495
parent9b581bad653c682d71a56c2c9d7dededf8dfdb95 (diff)
downloadslackbuilds-5cfb69c6c9f966037fbc4a1554899ffd1c510989.tar.gz
development/device-tree-compiler: Add a fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/device-tree-compiler/device-tree-compiler.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/device-tree-compiler/device-tree-compiler.SlackBuild b/development/device-tree-compiler/device-tree-compiler.SlackBuild
index 58b655f1fa..3002f027f3 100644
--- a/development/device-tree-compiler/device-tree-compiler.SlackBuild
+++ b/development/device-tree-compiler/device-tree-compiler.SlackBuild
@@ -70,7 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make clean
-make CFLAGS="$SLKCFLAGS" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \