summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-11 20:00:57 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-11 20:00:57 +0000
commit5aae16f2b7f629dadc49adce4d5aa20d34c33a6e (patch)
tree4b9e8b1fa72ad5ef4c72e872055f11a4001c87af /eclass/tests/flag-o-matic.sh
parentInstall two different Apache configuration files for 2.2 and 2.4, as access c... (diff)
downloadgentoo-2-5aae16f2b7f629dadc49adce4d5aa20d34c33a6e.tar.gz
gentoo-2-5aae16f2b7f629dadc49adce4d5aa20d34c33a6e.tar.bz2
gentoo-2-5aae16f2b7f629dadc49adce4d5aa20d34c33a6e.zip
raw-ldflags: fix typo in previous commit #441808#10
Diffstat (limited to 'eclass/tests/flag-o-matic.sh')
-rwxr-xr-xeclass/tests/flag-o-matic.sh6
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