summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-goto.sh
diff options
context:
space:
mode:
authorJohn Millikin <john@john-millikin.com>2020-12-23 15:23:25 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-01-04 10:38:11 +0900
commit0c36d88cff4d72149f94809303c5180b6f716d39 (patch)
tree8898091d18065cb3fc0b78aa222e795f983edd8d /scripts/gcc-goto.sh
parentc0f975af1745391749e4306aa8081b9a4d2cced8 (diff)
downloadlinux-0c36d88cff4d72149f94809303c5180b6f716d39.tar.bz2
lib/raid6: Let $(UNROLL) rules work with macOS userland
Older versions of BSD awk are fussy about the order of '-v' and '-f' flags, and require a space after the flag name. This causes build failures on platforms with an old awk, such as macOS and NetBSD. Since GNU awk and modern versions of BSD awk (distributed with FreeBSD/OpenBSD) are fine with either form, the definition of 'cmd_unroll' can be trivially tweaked to let the lib/raid6 Makefile work with both old and new awk flag dialects. Signed-off-by: John Millikin <john@john-millikin.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/gcc-goto.sh')
0 files changed, 0 insertions, 0 deletions