summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-16 22:00:18 -0500
committerMike Frysinger <vapier@gentoo.org>2012-01-17 01:47:23 -0500
commita4421e60526d3420a9c0bd55bfa4a25a746cbc8e (patch)
treed5b087c653cd695852e890181ad009434c88a9d9 /Rules.mak
parentbc7c171f2b1ce70804368b77f41b7b04397dccbd (diff)
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 <raj.khem@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 2 insertions, 2 deletions
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