diff --git a/arch/c5471/Make.defs b/arch/c5471/Make.defs index f75abdad61..359f4585ed 100644 --- a/arch/c5471/Make.defs +++ b/arch/c5471/Make.defs @@ -60,9 +60,6 @@ OBJDUMP = $(CROSSDEV)objdump CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \ $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe -LDFLAGS = $(ARCHSCRIPT) -EXTRA_LIBS = - OBJEXT = .o LIBEXT = .a diff --git a/arch/c5471/src/Makefile b/arch/c5471/src/Makefile index e2a4dc4ba6..3c1e50010c 100644 --- a/arch/c5471/src/Makefile +++ b/arch/c5471/src/Makefile @@ -56,6 +56,9 @@ COBJS = $(CSRCS:.c=.o) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) +LDFLAGS = $(ARCHSCRIPT) +EXTRA_LIBS = + LINKOBJS = LINKLIBS = LDPATHES = $(addprefix -L$(TOPDIR)/,$(dir $(LINKLIBS))) diff --git a/arch/sim/Make.defs b/arch/sim/Make.defs index da5b1ba480..3e4d0cf75e 100644 --- a/arch/sim/Make.defs +++ b/arch/sim/Make.defs @@ -59,9 +59,6 @@ OBJDUMP = $(CROSSDEV)objdump CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \ $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe -LDFLAGS = $(ARCHSCRIPT) -EXTRA_LIBS = -lc - OBJEXT = .o LIBEXT = .a diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index cb3f96b73f..a3be44f35a 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -51,6 +51,9 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) +LDFLAGS = $(ARCHSCRIPT) +EXTRA_LIBS = -lc + LINKOBJS = LINKLIBS = LDPATHES = $(addprefix -L$(TOPDIR)/,$(dir $(LINKLIBS)))