Skip to content
Snippets Groups Projects
Commit 22aa7e4f authored by Natanael Copa's avatar Natanael Copa
Browse files

main/vala: only unset CFLAGS for tests

Build vala itself with our CFLAGS, but unset the CFLAGS for the tests,
which uses -Werror.
parent b9a8cfa9
No related branches found
No related tags found
1 merge request!74676main/vala: only unset CFLAGS for tests
Pipeline #270720 passed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vala pkgname=vala
pkgver=0.56.17 pkgver=0.56.17
pkgrel=0 pkgrel=1
pkgdesc="Compiler for the GObject type system" pkgdesc="Compiler for the GObject type system"
url="https://wiki.gnome.org/Projects/Vala" url="https://wiki.gnome.org/Projects/Vala"
arch="all" arch="all"
...@@ -17,9 +17,6 @@ source="https://download.gnome.org/sources/vala/${pkgver%.*}/vala-$pkgver.tar.xz ...@@ -17,9 +17,6 @@ source="https://download.gnome.org/sources/vala/${pkgver%.*}/vala-$pkgver.tar.xz
" "
build() { build() {
# tests fails with our CFLAGS
# https://gitlab.gnome.org/GNOME/vala/-/issues/1559
unset CFLAGS
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -28,7 +25,9 @@ build() { ...@@ -28,7 +25,9 @@ build() {
} }
check() { check() {
make check # tests fails with our CFLAGS
# https://gitlab.gnome.org/GNOME/vala/-/issues/1559
make -C tests check CFLAGS=""
} }
package() { package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment