|
|
|
@ -3,6 +3,9 @@
|
|
|
|
|
# Disable LTO in userspace packages.
|
|
|
|
|
%global _lto_cflags %{nil}
|
|
|
|
|
|
|
|
|
|
%global enable_devtoolset12() \
|
|
|
|
|
%{scl enable devtoolset-12 "%{expand:%{__cc} %{?cflags} %{?optflags} %{?debugflags} %{?ldflags}}"}
|
|
|
|
|
|
|
|
|
|
# The libexec directory is not used by the linker, so the shared object there
|
|
|
|
|
# should not be exported to RPM provides.
|
|
|
|
|
%global __provides_exclude_from ^%{_libexecdir}/kselftests
|
|
|
|
|