Skip to content

Commit

Permalink
pixman: disable neon for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwiboo authored and lrusak committed Dec 16, 2017
1 parent b435a4e commit 86e9171
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/x11/lib/pixman/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ PKG_SHORTDESC="pixman: Pixel manipulation library"
PKG_LONGDESC="Pixman is a generic library for manipulating pixel regions, contains low-level pixel manipulation routines and is used by both xorg and cairo."

if [ "$TARGET_ARCH" = arm ]; then
if [ "$TARGET_FPU" = neon -o "$TARGET_FPU" = neon-fp16 ]; then
if target_has_feature neon; then
PIXMAN_NEON="--enable-arm-neon"
else
PIXMAN_NEON="--disable-arm-neon"
fi
PIXMAN_CONFIG="--disable-mmx --disable-sse2 --disable-vmx --enable-arm-simd $PIXMAN_NEON --disable-arm-iwmmxt"
elif [ "$TARGET_ARCH" = aarch64 ]; then
PIXMAN_CONFIG="--disable-mmx --disable-sse2 --disable-vmx --disable-arm-simd --disable-arm-neon --disable-arm-iwmmxt"
elif [ "$TARGET_ARCH" = x86_64 ]; then
PIXMAN_CONFIG="--enable-mmx --enable-sse2 --disable-ssse3 --disable-vmx --disable-arm-simd --disable-arm-neon"
fi
Expand Down

0 comments on commit 86e9171

Please sign in to comment.