mirror of https://github.com/ossrs/srs.git
Fix GCC7 build error, this statement may fall through. 2.0.263
parent
91c462b6ba
commit
a554dd85e1
@ -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
|
Loading…
Reference in New Issue