mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Revert "Revert "config/functions: simplyfing strip_gold function""
This reverts commit 13c5e95035.
This commit is contained in:
@@ -145,12 +145,14 @@ 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||"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user