projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
[deliverable/binutils-gdb.git]
/
ld
/
mpw-make.sed
diff --git
a/ld/mpw-make.sed
b/ld/mpw-make.sed
index 3f88a97fb5c52b3a75240413eeb9a39a6bc25342..c91970839a9cd9bfd5fc928896179272784dbd63 100644
(file)
--- a/
ld/mpw-make.sed
+++ b/
ld/mpw-make.sed
@@
-23,7
+23,7
@@
# Hack up ldmain compile.
/^"{o}"ldmain.c.o \\Option-f .* config.status$/,/^$/c\
"{o}"ldmain.c.o \\Option-f "{s}"ldmain.c\
# Hack up ldmain compile.
/^"{o}"ldmain.c.o \\Option-f .* config.status$/,/^$/c\
"{o}"ldmain.c.o \\Option-f "{s}"ldmain.c\
- {CC}
-d DEFAULT_EMULATION='"'{EMUL}'"' -d SCRIPTDIR='"'{scriptdir}'"'
{ALL_CFLAGS} "{s}"ldmain.c -o "{o}"ldmain.c.o\
+ {CC}
@DASH_C_FLAG@ -d DEFAULT_EMULATION={dq}{EMUL}{dq} -d SCRIPTDIR={dq}{scriptdir}{dq}
{ALL_CFLAGS} "{s}"ldmain.c -o "{o}"ldmain.c.o\
# Remove ldemul-list.h build, rely on configure to make one.
# Remove ldemul-list.h build, rely on configure to make one.
@@
-61,6
+61,15
@@
# We can't run genscripts, so don't try.
/{GENSCRIPTS}/s/{GENSCRIPTS}/null-command/
# We can't run genscripts, so don't try.
/{GENSCRIPTS}/s/{GENSCRIPTS}/null-command/
+# Comment out the TDIRS bits.
+/^TDIRS@/s/^/#/
+
+# Point at the BFD library directly.
+/@BFDLIB@/s/@BFDLIB@/::bfd:libbfd.o/
+
+# Don't need this.
+/@HLDFLAGS@/s/@HLDFLAGS@//
+
#/sed.*free/,/> "{o}"ldlex.c.new/c\
# \ Catenate "{o}"lex.yy.c >"{o}"ldlex.c.new
#/sed.*free/,/> "{o}"ldlex.c.new/c\
# \ Catenate "{o}"lex.yy.c >"{o}"ldlex.c.new
@@
-71,13
+80,7
@@
install \\Option-f all install-only\
\
install-only \\Option-f\
install \\Option-f all install-only\
\
install-only \\Option-f\
- If "`Exists "{prefix}"`" == ""\
- Echo "{prefix}" does not exist, cannot install anything\
- Exit 1\
- End If\
- If "`Exists "{bindir}"`" == ""\
- NewFolder "{bindir}"\
- End If\
+ NewFolderRecursive "{bindir}"\
Duplicate -y :ld.new "{bindir}"ld\
Duplicate -y :ld.new "{bindir}"ld\
This page took
0.024148 seconds
and
4
git commands to generate.