summaryrefslogtreecommitdiff
path: root/packaging/cross-aarch64-binutils.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/cross-aarch64-binutils.spec')
-rw-r--r--packaging/cross-aarch64-binutils.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/cross-aarch64-binutils.spec b/packaging/cross-aarch64-binutils.spec
index b37beecde84..b3d12264865 100644
--- a/packaging/cross-aarch64-binutils.spec
+++ b/packaging/cross-aarch64-binutils.spec
@@ -106,6 +106,7 @@ ulimit -s unlimited
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
%build
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DBFD_PLUGIN_LTO_NAME=liblto_plugin_%{_arch}.so"
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'`
%if 0%{!?cross:1}