diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 18:24:08 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 18:24:08 (EDT) |
commit | ad1b85f7df9703af0cb0e3288f7558c1d14c0450 (patch) | |
tree | 62de7e1a9b7665a5c0f1a7aef5232262397db4ed /build | |
parent | f790c73c44a8b0fefa073e4dc746b1764f691e14 (diff) |
build: Use "#" in build-gcc-config command
POSIX suggests that "#" only delimits comments in macro definitions and
at the beginnings of lines, but it isn't clear. GNU and NetBSD make
implementations at least allow this.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ build-gcc-config: # directory that other targets might also use, so backups are made. [ -e "$(tm)/$(tm_file).orig" ] || \ mv "$(tm)/$(tm_file)" "$(tm)/$(tm_file).orig" - sed "s|^\(.define $(tm_interp_macro)\) \".*\"$$|\1 \"$(elf_interp)\"|" \ + sed "s|^\(#define $(tm_interp_macro)\) \".*\"$$|\1 \"$(elf_interp)\"|" \ "$(tm)/$(tm_file).orig" >"$(tm)/$(tm_file)" [ -e "$(tm)/$(tmake_file).orig" ] || \ mv "$(tm)/$(tmake_file)" "$(tm)/$(tmake_file).orig" |