Skip to content

Commit 69afd42

Browse files
committed
Simulate rust installed, fix apt install, build files in tmp directory
1 parent 29eb556 commit 69afd42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ AS_IF(test x$NGINX_VERSION = x, [
1919
AS_IF(test x$NGINX_BIN = x,
2020
AC_MSG_ERROR([nginx is required.]), [
2121
NGINX_VERSION=`${NGINX_BIN} -v 2>&1 | grep -o '[[0-9.]]*\$'`
22-
NGINX_CONFIGURE="--with-cc-opt='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --with-debug"
22+
NGINX_CONFIGURE="--with-cc-opt='-Wno-error -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --with-debug"
2323
NGINX_PREFIX=`${NGINX_BIN} -V 2>&1 | grep -oP '\-\-prefix=([[^\s]]*)'| cut -d "=" -f2`
2424
NGINX_MAKE_TARGET="modules"
2525
]
2626
)
2727
], [
28-
NGINX_CONFIGURE="--with-cc-opt='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --with-debug"
28+
NGINX_CONFIGURE="--with-cc-opt='-Wno-error -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --with-debug"
2929
NGINX_PREFIX="${ac_abs_confdir}/nginx-${NGINX_VERSION}/work"
3030
NGINX_BIN="./nginx-${NGINX_VERSION}/objs/nginx"
3131
NGINX_MAKE_TARGET="install"

0 commit comments

Comments
 (0)