diff options
Diffstat (limited to 'kernel.spec')
-rw-r--r-- | kernel.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec index 6f331fd45..2fb9405f4 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1204,8 +1204,8 @@ cp_vmlinux() # from redhat-rpm-config assume that host == target so target arch # flags cause issues with the host compiler. %if !%{with_cross} -%define build_hostcflags %{build_cflags} -%define build_hostldflags %{build_ldflags} -Wl,--build-id=uuid +%define build_hostcflags %{?build_cflags} +%define build_hostldflags %{?build_ldflags} -Wl,--build-id=uuid %endif BuildKernel() { |