mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-01 09:50:31 +00:00
tests: unset CFLAGS
CFLAGS may be set in the running environment (eg in abuild check)
This commit is contained in:
parent
0a129755fd
commit
0daf4ae637
@ -60,6 +60,8 @@ funcs_check_defconfig_body() {
|
||||
echo "CFLAGS=syscflags" > etc.conf
|
||||
echo "CFLAGS=usercflags" > user.conf
|
||||
|
||||
unset CFLAGS
|
||||
|
||||
# test /usr/share/abuild/default.conf
|
||||
ABUILD_DEFCONF="$PWD"/def.conf ABUILD_CONF=/dev/null ABUILD_USERCONF=/dev/null \
|
||||
atf_check -o match:"defcflags" \
|
||||
|
Loading…
Reference in New Issue
Block a user