diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-05 18:46:22 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:18:56 -0500 |
commit | 5cfb69c6c9f966037fbc4a1554899ffd1c510989 (patch) | |
tree | 421d0147ef776c1462ef10c8cb097fc20d938495 | |
parent | 9b581bad653c682d71a56c2c9d7dededf8dfdb95 (diff) | |
download | slackbuilds-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.SlackBuild | 2 |
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 \ |