webkit2gtk: don't manually set CMAKE_SYSTEM_PROCESSOR=

[ci skip]
This commit is contained in:
maxice8 2018-10-03 05:25:18 -03:00 committed by Enno Boland
parent f26b43dbb7
commit adf3b6663e

View file

@ -48,8 +48,6 @@ if [ -z "$CROSS_BUILD" ]; then
else
# Make cmake detect Ruby headers in cross base
configure_args+=" -DRUBY_VERSION=2.5 -DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/ruby-2.5.0"
# Fix non-working target CPU detection
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${XBPS_TARGET_MACHINE%-musl}"
fi
if [ "$build_option_gir" ]; then