From dc2f2119872ab56ed24a11be67a402577c9d84a0 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Thu, 10 Dec 2020 09:38:13 +0000 Subject: [PATCH] Fix libopcodes building git-svn-id: svn://kolibrios.org@8358 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/toolchain/binutils/opcodes/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/toolchain/binutils/opcodes/Makefile b/contrib/toolchain/binutils/opcodes/Makefile index 8dbf68e86..7a65176d1 100644 --- a/contrib/toolchain/binutils/opcodes/Makefile +++ b/contrib/toolchain/binutils/opcodes/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 @@ -19,11 +22,11 @@ OBJS = $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))) all: libopcodes.a -libopcodes.a: $(OBJS) MAkefile +libopcodes.a: $(OBJS) Makefile $(AR) crs $@ $(OBJS) mv -f $@ $(SDK_DIR)/lib %.o : %.c Makefile $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< - \ No newline at end of file +