diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 3b9348a0c1a496244575dced7f89303ae78b168d..602f57e590b57fafd8dcf461c9a5468842d9c29e 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -108,7 +108,7 @@ else # this works around some issues with generating unwind tables in older gccs # newer gccs do it by default - KBUILD_CFLAGS += -maccumulate-outgoing-args + KBUILD_CFLAGS += $(call cc-option,-maccumulate-outgoing-args) endif # Make sure compiler does not have buggy stack-protector support.