Silence noisy gdb-add-index warnings in install_arch.sh

Flutter release binaries are already stripped/AOT-compiled with no
extractable DWARF debug info, so makepkg's debug-package split (enabled
system-wide in this machine's makepkg.conf) always fails gdb-add-index
on every binary. Disable it per-package via options=('!debug').

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Krzysztof Rudnicki 2026-07-19 14:43:44 +02:00
parent 8c4e695dae
commit ebb610e1f1

View File

@ -36,6 +36,11 @@ license=('custom')
depends=('gtk3')
conflicts=('todo')
replaces=('todo')
# Flutter release binaries are already stripped/AOT-compiled with no
# extractable DWARF debug info, so a split -debug package is pointless here
# and gdb-add-index just fails noisily on every binary. Skip it, overriding
# the system-wide 'debug' OPTIONS setting.
options=('!debug')
package() {
install -dm755 "\$pkgdir/opt/todo"