mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
cmake: restore use of GNU extensions from libc
This commit is contained in:
parent
5175a152d9
commit
e3eb945fd2
@ -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")
|
||||
list(APPEND compile_definitions "-DHAVE_CONFIG_H" "-D_GNU_SOURCE")
|
||||
|
||||
list(APPEND compile_options "-ffunction-sections"
|
||||
"-fdata-sections"
|
||||
|
Loading…
Reference in New Issue
Block a user