mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
Fix GCC7 build error, this statement may fall through. 2.0.263
This commit is contained in:
12
trunk/3rdparty/patches/7.http.parser.patch
vendored
Normal file
12
trunk/3rdparty/patches/7.http.parser.patch
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
--- 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
|
||||
Reference in New Issue
Block a user