projects
/
product
/
upstream
/
bash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323d8d6
)
Disable LTO for RISC-V until LTO is fixed
sandbox/vbarinov/nolto
author
Slava Barinov
<v.barinov@samsung.com>
Thu, 8 Jun 2023 21:39:18 +0000
(
00:39
+0300)
committer
Slava Barinov
<v.barinov@samsung.com>
Thu, 8 Jun 2023 21:39:18 +0000
(
00:39
+0300)
Change-Id: I015e74dd95f9b7cf9b14f4f61a1340163fefb87d
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/bash.spec
patch
|
blob
|
history
diff --git
a/packaging/bash.spec
b/packaging/bash.spec
index e823f04f22c0099b4577f08d2e54fdb8a812c5bd..a6b5207714e02422bf8f2b8f25c8a3751ae0bc3a 100644
(file)
--- a/
packaging/bash.spec
+++ b/
packaging/bash.spec
@@
-33,8
+33,10
@@
cp %{SOURCE1001} .
%{__patch} -p1 < %{SOURCE1002}
%build
+%ifnarch riscv64
export CFLAGS+=" -fPIC -fvisibility=hidden -flto "
export LDFLAGS+=" -pie -fvisibility=hidden -flto "
+%endif
autoconf
%configure --enable-largefile \
--without-bash-malloc \