summaryrefslogtreecommitdiff
path: root/user/freecell-solver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/freecell-solver/APKBUILD')
-rw-r--r--user/freecell-solver/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/freecell-solver/APKBUILD b/user/freecell-solver/APKBUILD
index bfd1a4fb6..e42dbc819 100644
--- a/user/freecell-solver/APKBUILD
+++ b/user/freecell-solver/APKBUILD
@@ -17,6 +17,12 @@ source="https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-$pkgv
build() {
rm t/t/perltidy.t
+ case $CTARGET_ARCH in
+ ppc)
+ ARCH_OPTS="-DSKIP_VALGRIND=True" # #876
+ ;;
+ esac
+
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -26,6 +32,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ ${ARCH_OPTS} \
${CMAKE_CROSSOPTS} .
# The build system generates header files; jobs >1 may cause failures
# because .h don't exist yet.