Fix GAS building

git-svn-id: svn://kolibrios.org@8360 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-10 09:53:33 +00:00
parent ea02cdd1cf
commit 368852fac9

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