cmake: restore use of GNU extensions from libc
This commit is contained in:
parent
5175a152d9
commit
e3eb945fd2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue