From patchwork Wed Aug 26 15:20:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fixed linking against libgcc in Kbuild Date: Wed, 26 Aug 2009 15:20:16 -0000 From: Cristi Magherusan X-Patchwork-Id: 196 Message-Id: <1251300016.13506.3.camel@ufo> To: coreboot@coreboot.org Hello, See the attached (trivial) patch, inspired by the older buildsystem. This fixes Myles' and my compilation issues. Acked-by: Ronald G. Minnich Acked-by: Harald Gutmann Acked-by: Patrick Georgi >From da7c36bac330126373c02fbc801c084f7bc336e3 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Cristi=20M=C4=83gheru=C8=99an?= Date: Wed, 26 Aug 2009 18:08:18 +0300 Subject: [PATCH] added libgcc to Kbuild --- Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index e8af463..aa4e8ab 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,8 @@ HOSTCXX = g++ HOSTCFLAGS := -I$(srck) -I$(objk) -g HOSTCXXFLAGS := -I$(srck) -I$(objk) +LIBGCC_FILE_NAME := $(shell $(CC) -print-libgcc-file-name) + DESTDIR = /opt DOXYGEN := doxygen -- 1.6.0.4