mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +00: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:
@@ -134,8 +134,9 @@ STD_LDFLAGS=""
|
|||||||
# ... except in test code
|
# ... except in test code
|
||||||
TEST_CFLAGS="-Wno-vla"
|
TEST_CFLAGS="-Wno-vla"
|
||||||
|
|
||||||
# Fortify the sources by default
|
# Fortify the sources by default (we undefine the macro first in case
|
||||||
STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
# the compiler has a different built-in setting)
|
||||||
|
STD_CPPFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Additional compiler settings.
|
# Additional compiler settings.
|
||||||
|
Reference in New Issue
Block a user