test/gcc-fedora-flags: modernize quoting
This commit is contained in:
parent
0732587e7b
commit
bc87a0d123
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
default_cflags=`rpm -E %{build_cflags}`
|
default_cflags=$(rpm -E '%{build_cflags}')
|
||||||
default_cxxflags=`rpm -E %{build_cxxflags}`
|
default_cxxflags=$(rpm -E '%{build_cxxflags}')
|
||||||
default_ldflags=`rpm -E %{build_ldflags}`
|
default_ldflags=$(rpm -E '%{build_ldflags}')
|
||||||
|
|
||||||
cflags=`rpm -D '%toolchain gcc' -E %{build_cflags}`
|
cflags=$(rpm -D '%toolchain gcc' -E '%{build_cflags}')
|
||||||
cxxflags=`rpm -D '%toolchain gcc' -E %{build_cxxflags}`
|
cxxflags=$(rpm -D '%toolchain gcc' -E '%{build_cxxflags}')
|
||||||
ldflags=`rpm -D '%toolchain gcc' -E %{build_ldflags}`
|
ldflags=$(rpm -D '%toolchain gcc' -E '%{build_ldflags}')
|
||||||
|
|
||||||
test "$default_cflags" = "$cflags"
|
test "$default_cflags" = "$cflags"
|
||||||
test "$default_cxxflags" = "$cxxflags"
|
test "$default_cxxflags" = "$cxxflags"
|
||||||
|
Loading…
Reference in New Issue
Block a user