Revert "config/functions: simplyfing strip_gold function"

This reverts commit f80bc4003de37b6a767e3d0ffea07927c4ec73cf.
This commit is contained in:
Stephan Raue 2011-07-16 16:13:18 +02:00
parent 3258c11ec6
commit 13c5e95035

View File

@ -145,14 +145,12 @@ strip_lto() {
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||"`
}
strip_gold() {
# strip out usage from GOLD linker
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||" -e "s|-fuse-linker-plugin||"`
}
strip_linker_plugin() {
# strip out usage from linker plugin
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
}
strip_gold() {
# strip out usage from GOLD linker
strip_linker_plugin
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||"`
}