diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-27 07:48:44 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-27 07:48:44 +0000 |
commit | d2eca97bdc0ff092c00e6825314478720fcdaab4 (patch) | |
tree | cac2331b178783cfa30d40437440936ca228ce73 /user | |
parent | e6a7cf120611c3933dcd4bdf9820c8c4b1062497 (diff) | |
download | packages-d2eca97bdc0ff092c00e6825314478720fcdaab4.tar.gz packages-d2eca97bdc0ff092c00e6825314478720fcdaab4.tar.bz2 packages-d2eca97bdc0ff092c00e6825314478720fcdaab4.tar.xz packages-d2eca97bdc0ff092c00e6825314478720fcdaab4.zip |
user/kdiff3: Fix build on PPC
Diffstat (limited to 'user')
-rw-r--r-- | user/kdiff3/APKBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/kdiff3/APKBUILD b/user/kdiff3/APKBUILD index e55724ca1..ff523e7ed 100644 --- a/user/kdiff3/APKBUILD +++ b/user/kdiff3/APKBUILD @@ -20,6 +20,11 @@ build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi + + case $CTARGET_ARCH in + ppc) export LDFLAGS="$LDFLAGS -Wl,--no-as-needed -latomic -Wl,--as-needed";; + esac + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ |