2
0
Fork 0

Remove -Winline as gcc interprets "can not inline" as "don't want inline".

personal/stbuehler/wip
Stefan Bühler 2009-04-17 22:24:41 +02:00
parent c8d26383c3
commit faeecfea1d
1 changed files with 1 additions and 1 deletions

View File

@ -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 "")