mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
cmake: restore use of GNU extensions from libc
This commit is contained in:
@@ -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")
|
list(APPEND compile_definitions "-DHAVE_CONFIG_H" "-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