mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-22 09:01:18 +03:00
Fix LD building
git-svn-id: svn://kolibrios.org@8361 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
368852fac9
commit
9cee2a7ef5
@ -1,3 +1,7 @@
|
||||
CC = kos32-gcc
|
||||
LD = kos32-ld
|
||||
SDK_DIR = ../../../sdk
|
||||
|
||||
NAME= ld-new
|
||||
|
||||
LIB_DIR:= $(SDK_DIR)/lib
|
||||
@ -18,7 +22,7 @@ MDEFS= -DDEFAULT_EMULATION='"i386pe"' -DBINDIR='"/home/autobuild/tools/win32/
|
||||
MDEFS+= -DTOOLBINDIR='"/home/autobuild/tools/win32/mingw32/bin"' -DTARGET='"i686-pc-mingw32"'
|
||||
MDEFS+= -DTARGET_SYSTEM_ROOT='"/home/autobuild/tools/win32"' -DTARGET_SYSTEM_ROOT_RELOCATABLE
|
||||
|
||||
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
|
||||
|
||||
@ -54,4 +58,4 @@ ldfile.o : ldfile.c Makefile
|
||||
|
||||
ldmain.o : ldmain.c Makefile
|
||||
$(CC) $(CFLAGS) $(DEFINES) $(MDEFS) $(INCLUDES) -o $@ $<
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user