diff --git a/slurm.spec b/slurm.spec
index 283f0ba0dfab496d0a5641f9d34e51371971ea8e..ab76e0725df7bebb354eaa3972dd53a4397a8044 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -122,7 +122,8 @@ SLURM plugins for IBM AIX and Federation switch.
     %{?_enable_debug}			\
     %{?with_proctrack}			\
     %{?with_ssl}			\
-    %{?with_munge}
+    %{?with_munge}                      \
+    %{?with_cflags}
 
 #
 # The following was stolen from the E17 packages: