diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-03-08 16:47:53 +0000 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-03-22 11:10:35 -0400 |
commit | c839d6e6b096f1c9f2d9be880aedd796095b7a80 (patch) | |
tree | 32d05c59ec67ed2b6af09a1b9f7f642308c32c77 /arch/mips | |
parent | c7d4bd1d975e3fa1dd4ecf557ada0e792d551a6c (diff) | |
download | linux-exynos-c839d6e6b096f1c9f2d9be880aedd796095b7a80.tar.gz linux-exynos-c839d6e6b096f1c9f2d9be880aedd796095b7a80.tar.bz2 linux-exynos-c839d6e6b096f1c9f2d9be880aedd796095b7a80.zip |
ld-version: Fix awk regex compile failure
[ Upstream commit 4b7b1ef2c2f83d702272555e8adb839a50ba0f8e ]
The ld-version.sh script fails on some versions of awk with the
following error, resulting in build failures for MIPS:
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
This is due to the regular expression ".*)", meant to strip off the
beginning of the ld version string up to the close bracket, however
brackets have a meaning in regular expressions, so lets escape it so
that awk doesn't expect a corresponding open bracket.
Fixes: ccbef1674a15 ("Kbuild, lto: add ld-version and ld-ifversion ...")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Tested-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Cc: Michal Marek <mmarek@suse.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # 4.4.x-
Patchwork: https://patchwork.linux-mips.org/patch/12838/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions