From a4421e60526d3420a9c0bd55bfa4a25a746cbc8e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 16 Jan 2012 22:00:18 -0500 Subject: buildsys: use = for --sort-section linker flag The spaces aren't handled correctly (currently) when outputting the CFLAGS version of the linker flag. Reported-by: Khem Raj Signed-off-by: Mike Frysinger --- Rules.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 84d3fecbc..792ced850 100644 --- a/Rules.mak +++ b/Rules.mak @@ -361,8 +361,8 @@ endif # 0 .text xxxxxxxx 00000000 00000000 xxxxxxxx 2**2 <===! CPU_CFLAGS-y += $(CFLAG_-ffunction-sections) $(CFLAG_-fdata-sections) CPU_LDFLAGS-y += $(CFLAG_-Wl--sort-common) -$(eval $(call check-ld-var,--sort-section%alignment)) - CPU_LDFLAGS-y += $(CFLAG_-Wl--sort-section%alignment) +$(eval $(call check-ld-var,--sort-section=alignment)) + CPU_LDFLAGS-y += $(CFLAG_-Wl--sort-section=alignment) CPU_LDFLAGS-y+=-m32 CPU_CFLAGS-y+=-m32 -- cgit v1.2.3