From: Raphaƫl Gertz Date: Thu, 2 Sep 2021 00:36:19 +0000 (+0200) Subject: Fix configure and make warning X-Git-Tag: 2.4.38-6 X-Git-Url: https://git.rapsys.eu/ihttpd/commitdiff_plain/7f1af3e8a93fc3a70683c1745fa9286baa1e48ee?ds=sidebyside Fix configure and make warning --- diff --git a/SPECS/ihttpd.spec b/SPECS/ihttpd.spec index a806244..693e93a 100644 --- a/SPECS/ihttpd.spec +++ b/SPECS/ihttpd.spec @@ -136,7 +136,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" # Hard-code path to links to avoid unnecessary builddep export LYNX_PATH=/usr/bin/links -%configure2_5x \ +%configure \ --enable-layout=IHttpd \ --sysconfdir='/etc' \ --includedir='/usr/include/ihttpd' \ @@ -167,7 +167,7 @@ export LYNX_PATH=/usr/bin/links --enable-modules=none \ --enable-mods-static='unixd auth_basic authn_core authn_file authz_core authz_host authz_user rewrite socache_shmcb dir mime log_config cgi ssl' -%make +%make_build export CFLAGS="$RPM_OPT_FLAGS" gcc index.bin.c -o index.bin