Fix binutils building

git-svn-id: svn://kolibrios.org@8359 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-10 09:49:42 +00:00
parent dc2f211987
commit ea02cdd1cf

View File

@ -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 $@ $<