mirror of
https://abf.rosa.ru/djam/glibc.git
synced 2025-02-24 07:22:47 +00:00
implemented automatic detection of bitness in devel-rpm-generators
This commit is contained in:
parent
87b592747f
commit
d9bbe0044f
1 changed files with 1 additions and 10 deletions
11
glibc.spec
11
glibc.spec
|
@ -46,16 +46,7 @@
|
|||
%define _disable_lto 1
|
||||
%endif
|
||||
|
||||
# devel-rpm-generators
|
||||
%define __devel_provides \
|
||||
%_buildshell -c '\
|
||||
while read -r line; do \
|
||||
if echo "$line" | grep -E '(/lib/|/usr/lib/).*\.so' ; \
|
||||
then echo "$line" | %__devel_provides 32 ; \
|
||||
else echo "$line" | %__devel_provides ; \
|
||||
fi ; \
|
||||
done'
|
||||
|
||||
%global __devel_gen_auto_bitness 1
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
# (tpg) optimize it a bit
|
||||
|
|
Loading…
Add table
Reference in a new issue