http-parser/makefile.patch
Dirk Mueller a4d716b8e9 - update to 2.9.4:
* use optflags for building
  * Remove NULL sentinels from test runner
  * Reject interior blanks in Content-Length
  * Disallow empty Content-Length
  * Speed up http_parser loop
  * Fix bad pointer arithmetic
  * Support multi-coding Transfer-Encoding
- remove makefile.patch: we want to build with -Werror

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/http-parser?expand=0&rev=13
2020-08-15 23:05:51 +00:00

13 lines
497 B
Diff

Index: http-parser-2.9.4/Makefile
===================================================================
--- http-parser-2.9.4.orig/Makefile
+++ http-parser-2.9.4/Makefile
@@ -52,7 +52,6 @@ CPPFLAGS_FAST = $(CPPFLAGS) -DHTTP_PARSE
CPPFLAGS_FAST += $(CPPFLAGS_FAST_EXTRA)
CPPFLAGS_BENCH = $(CPPFLAGS_FAST)
-CFLAGS += -Wall -Wextra -Werror
CFLAGS_DEBUG = $(CFLAGS) -O0 -g $(CFLAGS_DEBUG_EXTRA)
CFLAGS_FAST = $(CFLAGS) -O3 $(CFLAGS_FAST_EXTRA)
CFLAGS_BENCH = $(CFLAGS_FAST) -Wno-unused-parameter