diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-25 12:04:44 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-25 12:04:44 +1000 |
commit | e7c45a08451e7a7499f1029522a70bbb15072be2 (patch) | |
tree | ec12c647ec501e11ea1c204cc18f6f320517dd7b /arch/powerpc | |
parent | fd97e4ad6d3b0c9fce3bca8ea8e6969d9ce7423b (diff) | |
parent | be640317a1d0b9cf42fedb2debc2887a7cfa38de (diff) | |
download | linux-e7c45a08451e7a7499f1029522a70bbb15072be2.tar.bz2 |
Merge branch 'fixes' into next
Bring in a build fix for GCC12 from our fixes branch.
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 317c984ee9d0..de954fe106c5 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile @@ -20,6 +20,7 @@ CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) CFLAGS_prom_init.o += -fno-stack-protector CFLAGS_prom_init.o += -DDISABLE_BRANCH_PROFILING CFLAGS_prom_init.o += -ffreestanding +CFLAGS_prom_init.o += $(call cc-option, -ftrivial-auto-var-init=uninitialized) ifdef CONFIG_FUNCTION_TRACER # Do not trace early boot code |