From de875a4a712cf4fe1de1f0ead16f630f5e3c1422 Mon Sep 17 00:00:00 2001 From: Fan Jiang Date: Sun, 31 Mar 2019 14:56:45 +0800 Subject: [PATCH] echo is not POSIX compliant on \n --- nginx/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/Makefile b/nginx/Makefile index 014fa04..ca8e62c 100644 --- a/nginx/Makefile +++ b/nginx/Makefile @@ -21,8 +21,8 @@ $(nginx_dir)/objs/nginx: $(nginx_dir) sed -i 's/ngx_feature_run=yes/ngx_feature_run=no/' $(nginx_dir)/auto/cc/name sed -i 's/ngx_test="$$CC /ngx_test="gcc /' $(nginx_dir)/auto/types/sizeof cd $(nginx_dir) && ./configure --with-cc=$(cc) --with-cc-opt=-static --with-ld-opt=-static --without-pcre --without-http_rewrite_module --without-http_gzip_module --with-poll_module --without-http_upstream_zone_module - cd $(nginx_dir) && echo "#ifndef NGX_SYS_NERR\n#define NGX_SYS_NERR 132\n#endif\n" >> objs/ngx_auto_config.h - cd $(nginx_dir) && echo "#ifndef NGX_HAVE_SVSVSHM\n#define NGX_HAVE_SYSVSHM 1\n#endif\n" >> objs/ngx_auto_config.h + cd $(nginx_dir) && printf "#ifndef NGX_SYS_NERR\n#define NGX_SYS_NERR 132\n#endif\n" >> objs/ngx_auto_config.h + cd $(nginx_dir) && printf "#ifndef NGX_HAVE_SVSVSHM\n#define NGX_HAVE_SYSVSHM 1\n#endif\n" >> objs/ngx_auto_config.h cd $(nginx_dir) && make $(bin_unstripped): $(nginx_dir)/objs/nginx