mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
build-sys: use _FORTIFY_SOURCE with new gcc level -Og
This commit is contained in:
@@ -135,7 +135,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
||||
--param=ssp-buffer-size=4])
|
||||
AC_SUBST([OUR_CFLAGS], $with_cflags)
|
||||
|
||||
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*], [
|
||||
AS_CASE([$CFLAGS], [*-O[[12345g\ ]]*], [
|
||||
CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\
|
||||
-Wp,-D_FORTIFY_SOURCE=2])], [
|
||||
python_extra_cflags=-Wp,-U_FORTIFY_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user