|
@@ -798,6 +798,8 @@ config BR2_FORTIFY_SOURCE_NONE
|
|
|
|
|
|
config BR2_FORTIFY_SOURCE_1
|
|
|
bool "Conservative"
|
|
|
+ # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
|
|
|
+ depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
help
|
|
|
This option sets _FORTIFY_SOURCE to 1 and only introduces
|
|
|
checks that shouldn't change the behavior of conforming
|
|
@@ -805,6 +807,8 @@ config BR2_FORTIFY_SOURCE_1
|
|
|
|
|
|
config BR2_FORTIFY_SOURCE_2
|
|
|
bool "Aggressive"
|
|
|
+ # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
|
|
|
+ depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
help
|
|
|
This option sets _FORTIFY_SOURCES to 2 and some more
|
|
|
checking is added, but some conforming programs might fail.
|