Remove -Winline as gcc interprets "can not inline" as "don't want inline".
parent
c8d26383c3
commit
faeecfea1d
|
@ -336,7 +336,7 @@ ADD_EXECUTABLE(lighttpd
|
|||
SET(L_INSTALL_TARGETS ${L_INSTALL_TARGETS} lighttpd)
|
||||
|
||||
IF(BUILD_EXTRA_WARNINGS)
|
||||
SET(WARN_FLAGS "-g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed")
|
||||
SET(WARN_FLAGS "-g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed")
|
||||
# -Werror -Wbad-function-cast -Wmissing-prototypes
|
||||
ELSE(BUILD_EXTRA_WARNINGS)
|
||||
SET(WARN_FLAGS "")
|
||||
|
|
Loading…
Reference in New Issue