mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
nghttp: move HAVE_CONFIG_H compile definition to component
This commit is contained in:
parent
f125a9aaf4
commit
74c6c926ea
@ -24,3 +24,5 @@ set(COMPONENT_SRCS "nghttp2/lib/nghttp2_buf.c"
|
||||
"port/http_parser.c")
|
||||
|
||||
register_component()
|
||||
|
||||
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DHAVE_CONFIG_H")
|
||||
|
@ -91,7 +91,7 @@ function(__build_set_default_build_specifications)
|
||||
unset(c_compile_options)
|
||||
unset(cxx_compile_options)
|
||||
|
||||
list(APPEND compile_definitions "-DHAVE_CONFIG_H" "-D_GNU_SOURCE")
|
||||
list(APPEND compile_definitions "-D_GNU_SOURCE")
|
||||
|
||||
list(APPEND compile_options "-ffunction-sections"
|
||||
"-fdata-sections"
|
||||
|
Loading…
x
Reference in New Issue
Block a user