summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDonald Carr2019-02-09 17:35:51 -0800
committerDonald Carr2019-02-09 17:35:51 -0800
commitc7f0a54744955a5d02236d0727aa82a2f16c3edd (patch)
tree9d04ef0c59ebe0881827639d7a4b61eb875da112 /PKGBUILD
parent4561b577a8262a4ed4a73e952f2b6240b6182fbc (diff)
downloadaur-c7f0a54744955a5d02236d0727aa82a2f16c3edd.tar.gz
Clean up stock rpi 2 usage
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d90cd6a4fb7..a9485a186ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -108,11 +108,11 @@ if [ -n "${_piver}" ]; then
fi
_overwrite_mkspec=true
+_mkspec="linux-rpi${_piver}-g++"
case ${_piver} in
1)
_toolchain_name=armv6-rpi-linux-gnueabihf
_toolchain="/opt/${_toolchain_name}/bin/${_toolchain_name}-"
- _mkspec="linux-rpi${_piver}-g++"
# too problematic for me to care about
#_float=true
;;
@@ -127,7 +127,6 @@ case ${_piver} in
_toolchain_name=aarch64-rpi3-linux-gnu
_toolchain="/opt/x-tools/${_toolchain_name}/bin/${_toolchain_name}-"
_use_mesa=true
- _mkspec="linux-rpi${_piver}-g++"
# just for projectmofo!
#_opengl_variant="desktop"
;;
@@ -224,8 +223,6 @@ _arch_specific_configure_options="\
"
retired_exhaustive_uber_minimal_specific_configure_options="\
- -no-gbm \
- -no-kms \
-no-linuxfb \
"
@@ -309,6 +306,7 @@ if ${_use_mesa}; then
_profiled_gpu_fn=qpi-mesa.sh
_additional_configure_flags="$_additional_configure_flags -gbm -kms"
else
+ _additional_configure_flags="$_additional_configure_flags -no-gbm -no-kms"
if $_building && ([[ -f ${__eglpkgconfigpath} ]] || [[ -f ${__glespkgconfigpath} ]]); then
echo "Mesa is about to eat our communal poodle; delete egl.pc and glesv2.pc in your sysroot"
exit 1