mirror of
https://github.com/LIV2/bebbo-gcc.git
synced 2025-12-06 00:23:32 +00:00
refs #211: moved new_op into a lib
This commit is contained in:
parent
287b715467
commit
087cf1a9c1
@ -363,10 +363,8 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char const * add =
|
generate_option (OPT_Wl_, "-l,new_op", 1, CL_DRIVER,
|
||||||
"../lib/gcc/m68k-amigaos/" DEFAULT_TARGET_VERSION "/new_op.o";
|
&new_decoded_options[j]);
|
||||||
char const * p = amiga_m68k_prefix_func (1, &add);
|
|
||||||
generate_option_input_file (p, &new_decoded_options[j]);
|
|
||||||
}
|
}
|
||||||
++j;
|
++j;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,10 @@ LIB2ADD += $(srcdir)/config/m68k/gmon.c
|
|||||||
new_op.o: $(srcdir)/config/m68k/new_op.c
|
new_op.o: $(srcdir)/config/m68k/new_op.c
|
||||||
$(CC) $(CFLAGS) -c $<
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
EXTRA_PARTS=new_op.o
|
libnew_op.a: new_op.o
|
||||||
|
$(AR) rcs libnew_op.a new_op.o
|
||||||
|
|
||||||
|
EXTRA_PARTS=libnew_op.a
|
||||||
|
|
||||||
# On Amiga, specifying -fnon-call-exceptions will needlessly pull in
|
# On Amiga, specifying -fnon-call-exceptions will needlessly pull in
|
||||||
# the unwinder in simple programs which use 64-bit division.
|
# the unwinder in simple programs which use 64-bit division.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user