root: disable debug on i686

This commit is contained in:
classabbyamp 2022-06-30 14:53:04 -04:00
parent dfa59d5f63
commit 3d0e59d433
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -1,7 +1,7 @@
# Template file for 'root'
pkgname=root
version=6.26.04
revision=1
revision=2
# Only i686 and x86_64 seem to be officially supported
archs="i686* x86_64*"
build_style=cmake
@ -36,6 +36,10 @@ python_version=3
shlib_provides="libCore.so libTree.so libRIO.so libMatrix.so libThread.so
libTMVA.so libMathCore.so"
case "$XBPS_TARGET_MACHINE" in
i686*) configure_args+=" -DCMAKE_C_FLAGS=-g0 -DCMAKE_CXX_FLAGS=-g0" ;;
esac
post_install() {
rm -v ${DESTDIR}/usr/share/root/fonts/LICENSE
rm -v ${DESTDIR}/usr/share/root/fonts/[a-mt-z]*.ttf