From: Mike Frysinger Date: Tue, 19 Oct 2010 20:11:53 +0000 (-0400) Subject: initramfs: Fix build break on symbol-prefixed archs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d63f6d1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git initramfs: Fix build break on symbol-prefixed archs Signed-off-by: Mike Frysinger Signed-off-by: Michal Marek --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 54fd1b70013..e93525c5e91 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -128,7 +128,9 @@ _c_flags += $(if $(patsubst n%,, \ endif ifdef CONFIG_SYMBOL_PREFIX -_cpp_flags += -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) +_sym_flags = -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) +_cpp_flags += $(_sym_flags) +_a_flags += $(_sym_flags) endif