Skip to content

Commit 36d1cc0

Browse files
committed
1 parent eab12f6 commit 36d1cc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ build: utils
2424

2525
configure-debug:
2626
cd $(NGX_PATH) && \
27-
CFLAGS="-ggdb3 $(INC_FLAGS)" ./configure \
27+
CFLAGS=" -Wall -Werror -ggdb3 $(INC_FLAGS)" ./configure \
2828
--prefix=$(PREFIX_PATH) \
2929
--add-module=$(MODULE_PATH) \
3030
--with-debug --with-ld-opt='$(LDFLAGS)'
3131
mkdir -p $(PREFIX_PATH)/conf $(PREFIX_PATH)/logs
32+
unlink $(PREFIX_PATH)/conf/nginx.conf > /dev/null || echo "pass"
3233
cp -Rf $(NGX_PATH)/conf/* $(PREFIX_PATH)/conf
3334
rm -f $(PREFIX_PATH)/conf/nginx.conf
3435
ln -s $(PWD)/misc/nginx.dev.conf $(PREFIX_PATH)/conf/nginx.conf > /dev/null

misc/nginx.dev.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ error_log logs/crit.log crit;
1212
error_log logs/debug.log debug;
1313

1414
events {
15-
use kqueue;
1615
}
1716

1817
http {

0 commit comments

Comments
 (0)