diff --git a/mc.spec b/mc.spec index 7fe3454..1a3e453 100644 --- a/mc.spec +++ b/mc.spec @@ -120,6 +120,9 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOU %build autoreconf --force --install +%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security -Wno-unused-parameter +export CFLAGS="$RPM_OPT_FLAGS %{warn_flags}" + export X11_WWW="%{_datadir}/mc/x11_browser" %configure \