aboutsummaryrefslogtreecommitdiff
path: root/gas/mpw-make.sed
diff options
context:
space:
mode:
authorRaymond Jou <rjou@cygnus>1995-12-15 20:17:52 +0000
committerRaymond Jou <rjou@cygnus>1995-12-15 20:17:52 +0000
commitee68a042d20897e3164f96954612ccba80d70426 (patch)
tree4064d94a36b9a58c8534fe6077fa507dcd91edaf /gas/mpw-make.sed
parent010a405a948e9bce62dcd27517a56f0cb607cb05 (diff)
downloadgdb-ee68a042d20897e3164f96954612ccba80d70426.zip
gdb-ee68a042d20897e3164f96954612ccba80d70426.tar.gz
gdb-ee68a042d20897e3164f96954612ccba80d70426.tar.bz2
* mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
Diffstat (limited to 'gas/mpw-make.sed')
-rw-r--r--gas/mpw-make.sed3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/mpw-make.sed b/gas/mpw-make.sed
index 03db785..6b655ae 100644
--- a/gas/mpw-make.sed
+++ b/gas/mpw-make.sed
@@ -53,6 +53,9 @@ LOCAL_LOADLIBES = \
/{OBJS}/s/{OBJS} \\Option-f "{o}"config.h/{OBJS} \\Option-f/
/gasp.c/s/gasp\.c "{o}"config.h/gasp.c/
+# ALL_CFLAGS includes TDEFINES, which is not desirable at link time.
+/CC_LD/s/ALL_CFLAGS/CFLAGS/g
+
# The resource file is called mac-as.r.
/as.new.r/s/as\.new\.r/mac-as.r/
/gasp.new.r/s/gasp\.new\.r/mac-as.r/