projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Linker complaints if linked modules have conflicting options.
[fw/sdcc]
/
as
/
z80
/
asmain.c
diff --git
a/as/z80/asmain.c
b/as/z80/asmain.c
index 976248a392e4c0c61a82f80927dc3587d28d72e3..f916e9efd622af92b0d18a99260f9e3a47702e00 100644
(file)
--- a/
as/z80/asmain.c
+++ b/
as/z80/asmain.c
@@
-850,6
+850,19
@@
loop:
lmode = SLIST;
break;
+ case S_OPTSDCC:
+ p = optsdcc;
+ if ((c = getnb()) != 0) {
+ do {
+ if (p < &tb[NINPUT-1])
+ *p++ = c;
+ } while ((c = get()) != 0);
+ }
+ *p = 0;
+ unget(c);
+ lmode = SLIST;
+ break;
+
case S_GLOBL:
do {
getid(id, -1);