From ea02cdd1cfbea293f7482b7a56e5444f479ce206 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Thu, 10 Dec 2020 09:49:42 +0000 Subject: [PATCH] Fix binutils building git-svn-id: svn://kolibrios.org@8359 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/toolchain/binutils/binutils/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/toolchain/binutils/binutils/Makefile b/contrib/toolchain/binutils/binutils/Makefile index 6f5578e053..c8e81ce776 100644 --- a/contrib/toolchain/binutils/binutils/Makefile +++ b/contrib/toolchain/binutils/binutils/Makefile @@ -1,3 +1,6 @@ +CC = kos32-gcc +LD = kos32-ld +SDK_DIR = ../../../sdk LIB_DIR:= $(SDK_DIR)/lib @@ -11,7 +14,7 @@ INCLUDES= -I. -I../bfd -I../include -I$(SDK_DIR)/sources/newlib/libc/include DEFINES= -DHAVE_CONFIG_H -DLOCALEDIR='"/home/autobuild/tools/win32/share/locale"' DEFINES+= -Dbin_dummy_emulation=bin_vanilla_emulation -LIBS= -lbfd -liberty -lz -lgcc -lc.dll -lapp +LIBS= -lc -lbfd -liberty -lz -lgcc -lc.dll LIBPATH:= -L$(LIB_DIR) -L/home/autobuild/tools/win32/mingw32/lib @@ -64,4 +67,4 @@ strip: $(OSTRIP) Makefile %.o : %.c Makefile $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< - \ No newline at end of file +