diff options
Diffstat (limited to 'user/kdiff3/APKBUILD')
-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 \ |