diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 20:03:39 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 20:03:39 (EDT) |
commit | 5309f98deb6ae81022dc6b839e234636f49cb525 (patch) | |
tree | df1497df8279560cada5947522bbe0eb5451462c /build | |
parent | 8ae6e901b08b3136349bbcaef806c7afbd0fe759 (diff) |
build: Add/move comments in build-gcc-config
Diffstat (limited to 'build')
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,11 +117,12 @@ configure-native configure-cross: # once per target, but they modify files in the src/ directory that other # targets might also use, so backups are made. build-gcc-config: - # Set the default dynamic linker path inserted into ELF INTERP fields. [ -e "$(tm)/$(tm_file).orig" ] || \ mv "$(tm)/$(tm_file)" "$(tm)/$(tm_file).orig" + # Set the default dynamic linker path inserted into ELF INTERP fields. sed "s|^\(#define $(tm_interp_macro)\) \".*\"$$|\1 \"$(elf_interp)\"|" \ "$(tm)/$(tm_file).orig" >"$(tm)/$(tm_file)" + # Set macros for executable and startup(/library) file prefixes. printf '\n#undef %s\n#define %s "%s"\n' STANDARD_EXEC_PREFIX \ STANDARD_EXEC_PREFIX "$(tgtlibdir)/" >>"$(tm)/$(tm_file)" printf '\n#undef %s\n#define %s "%s"\n' STANDARD_LIBEXEC_PREFIX \ |