mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
nghttp: move HAVE_CONFIG_H compile definition to component
This commit is contained in:
@@ -24,3 +24,5 @@ set(COMPONENT_SRCS "nghttp2/lib/nghttp2_buf.c"
|
|||||||
"port/http_parser.c")
|
"port/http_parser.c")
|
||||||
|
|
||||||
register_component()
|
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(c_compile_options)
|
||||||
unset(cxx_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"
|
list(APPEND compile_options "-ffunction-sections"
|
||||||
"-fdata-sections"
|
"-fdata-sections"
|
||||||
|
Reference in New Issue
Block a user