mirror of
https://github.com/systemd/systemd.git
synced 2026-07-22 15:30:54 +00: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