diff options
Diffstat (limited to 'eclass/tests/flag-o-matic.sh')
-rwxr-xr-x | eclass/tests/flag-o-matic.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/tests/flag-o-matic.sh b/eclass/tests/flag-o-matic.sh index fcac1b3739db..c62f4e225898 100755 --- a/eclass/tests/flag-o-matic.sh +++ b/eclass/tests/flag-o-matic.sh @@ -110,4 +110,10 @@ append-cflags '-DFOO="a b c"' [[ ${CFLAGS} == '-DFOO="a b c"' ]] ftend +tbegin "raw-ldflags" +LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-z,now -flto' +LDFLAGS=$(raw-ldflags) +[[ ${LDFLAGS} == '-O1 --as-needed -z now' ]] +ftend + texit |