diff options
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 \ |