Hardcode --build target

This commit is contained in:
eabdullin 2024-07-09 14:33:57 +03:00
parent 2338500578
commit 887f1650d7

View File

@ -219,7 +219,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
for i in $(find . -name ltmain.sh) ; do \ for i in $(find . -name ltmain.sh) ; do \
%{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i \ %{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i \
done ; \ done ; \
%{_configure} --build=%{_build} --host=%{_host} \\\ %{_configure} --build=x86_64-redhat-linux --host=%{_host} \\\
--program-prefix=%{?_program_prefix} \\\ --program-prefix=%{?_program_prefix} \\\
--disable-dependency-tracking \\\ --disable-dependency-tracking \\\
%{?_configure_disable_silent_rules:--disable-silent-rules} \\\ %{?_configure_disable_silent_rules:--disable-silent-rules} \\\