summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod_authnz_pam.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_authnz_pam.spec b/mod_authnz_pam.spec
index 141fc4b..3d5f7ec 100644
--- a/mod_authnz_pam.spec
+++ b/mod_authnz_pam.spec
@@ -34,7 +34,7 @@ can also be used as full Basic Authentication provider which runs the
%setup -q -n %{name}-%{version}
%build
-%{_httpd_apxs} -c mod_authnz_pam.c -lpam -Wall -pedantic
+%{_httpd_apxs} -c -Wc,"%{optflags} -Wall -pedantic" mod_authnz_pam.c
%install
rm -rf $RPM_BUILD_ROOT