diff --git a/glibc.spec b/glibc.spec index 83e3c6d..a9787ee 100644 --- a/glibc.spec +++ b/glibc.spec @@ -27,6 +27,9 @@ %{?build_selinux}%{?!build_selinux:%bcond_with selinux} %{?build_systap}%{?!build_systap:%bcond_without systap} +# FIXME disable libselinux, new version is not yet available +%bcond_with selinux + # Allow make check to fail only when running kernels where we know # tests must pass (no missing features or bugs in the kernel) %define check_min_kver 2.6.21 @@ -1007,9 +1010,9 @@ function BuildGlibc() { --disable-profile \ --enable-static \ %if %{with selinux} - --with-selinux \ + --enable-selinux \ %else - --without-selinux \ + --disable-selinux \ %endif --enable-bind-now \ $ExtraFlags \