From 1703b37acc5a0f598d61f97ef79e6e8ab8dfb87c Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Wed, 9 Dec 2020 07:58:45 +0000 Subject: [PATCH] Fix libiberty Makefile git-svn-id: svn://kolibrios.org@8352 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/toolchain/binutils/libiberty/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/toolchain/binutils/libiberty/Makefile b/contrib/toolchain/binutils/libiberty/Makefile index a2d146631b..9898124196 100644 --- a/contrib/toolchain/binutils/libiberty/Makefile +++ b/contrib/toolchain/binutils/libiberty/Makefile @@ -1,3 +1,6 @@ +CC = kos32-gcc +LD = kos32-ld +SDK_DIR = ../../../sdk CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields @@ -34,11 +37,11 @@ OBJS = $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))) all: libiberty.a -libiberty.a : $(OBJS) MAkefile +libiberty.a : $(OBJS) Makefile $(AR) crs libiberty.a $(OBJS) mv -f libiberty.a $(SDK_DIR)/lib %.o : %.c Makefile $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< - \ No newline at end of file +