diff --git a/icinga2.spec b/icinga2.spec
index 7c0420491b2700bccd3b8e93847c946940550acc..4c3f219a3431369c88b061effbeae76c767bb771 100644
--- a/icinga2.spec
+++ b/icinga2.spec
@@ -371,11 +371,11 @@ CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=ON"
 %else
 CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=OFF"
 %endif
-%if %{with lto_build}
-CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=ON"
-%else
+
+# Disable LTO build, see https://github.com/Icinga/icinga2/issues/7149
+# lto1: internal compiler error: in prune_unused_types_prune, at dwarf2out.c
 CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=OFF"
-%endif
+
 %if %{with systemd_and_init}
 CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
 %else