--- Makefile 2019-04-05 19:43:32.000000000 +0800 +++ ../http-parser-2.1-patch/Makefile 2019-04-05 19:50:26.000000000 +0800 @@ -7,7 +7,8 @@ CPPFLAGS_DEBUG += $(CPPFLAGS_DEBUG_EXTRA CPPFLAGS_FAST = $(CPPFLAGS) -DHTTP_PARSER_STRICT=0 CPPFLAGS_FAST += $(CPPFLAGS_FAST_EXTRA) -CFLAGS += -Wall -Wextra -Werror +# patch by winlin +CFLAGS += -Wall -Wextra CFLAGS_DEBUG = $(CFLAGS) -O0 -g $(CFLAGS_DEBUG_EXTRA) CFLAGS_FAST = $(CFLAGS) -O3 $(CFLAGS_FAST_EXTRA) CFLAGS_LIB = $(CFLAGS_FAST) -fPIC