From 368852fac91b6f41e1fa0a0b4cff00c5682a2b99 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Thu, 10 Dec 2020 09:53:33 +0000 Subject: [PATCH] Fix GAS building git-svn-id: svn://kolibrios.org@8360 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/toolchain/binutils/gas/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/toolchain/binutils/gas/Makefile b/contrib/toolchain/binutils/gas/Makefile index 1e7a9a6cfa..ce712eb240 100644 --- a/contrib/toolchain/binutils/gas/Makefile +++ b/contrib/toolchain/binutils/gas/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$(SDK_DIR)/sources/newlib/libc/include -I$(SDK_DIR)/sources/zlib DEFINES= -DHAVE_CONFIG_H -DLOCALEDIR='"/home/autobuild/tools/win32/share/locale"' -LIBS= -lopcodes -lbfd -liberty -lz -lgcc -lc.dll -lapp +LIBS= -lc -lopcodes -lbfd -liberty -lz -lgcc -lc.dll LIBPATH:= -L$(LIB_DIR) -L/home/autobuild/tools/win32/mingw32/lib @@ -42,4 +45,4 @@ as: $(OBJS) Makefile %.o : %.c Makefile $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< - \ No newline at end of file +