diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml
index c26ae98df6cda10d3954a220e1d763bd79b70b54..feaf0090c32288935ff550efb81ef574368c9b34 100644
--- a/spack-environment/packages.yaml
+++ b/spack-environment/packages.yaml
@@ -13,6 +13,9 @@ packages:
   all:
     prefer: # is not overwritten below, but less strict than require
     - '%gcc'
+    - +ipo
+    - build_system=cmake
+    - build_type=Release
     require: # is overwritten by package-specific requirements below
     - '%gcc'
     - any_of: [+ipo, '@:']