Klaus Demo bjoern / b7f508f
Drop -Wno-unused and add flags to Makefile Patrick Lucas 8 years ago
2 changed file(s) with 5 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1212 $(wildcard $(SOURCE_DIR)/*.c))
1313
1414 CPPFLAGS += $(PYTHON_INCLUDE) -I . -I $(SOURCE_DIR) -I $(HTTP_PARSER_DIR)
15 CFLAGS += $(FEATURES) -std=c99 -fno-strict-aliasing -Wall -Wextra \
16 -Wno-unused -g -O0 -fPIC
15 CFLAGS += $(FEATURES) -std=c99 -fno-strict-aliasing -fcommon -fPIC -Wall \
16 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g -O0
1717 LDFLAGS += $(PYTHON_LDFLAGS) -l ev -shared -fcommon
1818
1919 ifneq ($(WANT_SENDFILE), no)
1111 include_dirs = ['http-parser'],
1212 define_macros = [('WANT_SENDFILE', '1'),
1313 ('WANT_SIGINT_HANDLING', '1')],
14 extra_compile_args = ['-std=c99', '-fno-strict-aliasing', '-Wall',
15 '-Wextra', '-Wno-unused', '-Wno-unused-parameter',
16 '-g', '-fPIC', '-Wno-missing-field-initializers',
17 '-fcommon']
14 extra_compile_args = ['-std=c99', '-fno-strict-aliasing', '-fcommon',
15 '-fPIC', '-Wall', '-Wextra', '-Wno-unused-parameter',
16 '-Wno-missing-field-initializers', '-g']
1817 )
1918
2019 setup(