mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-29 22:04:07 -04:00
Merge branch 'fanf-avoid-fortify-source-redefinition' into 'main'
Avoid redefining _FORTIFY_SOURCE See merge request isc-projects/bind9!7539
This commit is contained in:
commit
97663836ea
1 changed files with 3 additions and 2 deletions
|
|
@ -134,8 +134,9 @@ STD_LDFLAGS=""
|
|||
# ... except in test code
|
||||
TEST_CFLAGS="-Wno-vla"
|
||||
|
||||
# Fortify the sources by default
|
||||
STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||
# Fortify the sources by default (we undefine the macro first in case
|
||||
# the compiler has a different built-in setting)
|
||||
STD_CPPFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
|
||||
|
||||
#
|
||||
# Additional compiler settings.
|
||||
|
|
|
|||
Loading…
Reference in a new issue