Эх сурвалжийг харах

initramfs: Fix build break on symbol-prefixed archs

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Mike Frysinger 14 жил өмнө
parent
commit
d63f6d1b4d
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      scripts/Makefile.lib

+ 3 - 1
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