summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Gutmann <harald.gutmann@gmx.net>2009-08-26 15:35:36 +0000
committerHarald Gutmann <harald.gutmann@gmx.net>2009-08-26 15:35:36 +0000
commitdc4bb0d43f3673d425ac8509762563b9053b3fb0 (patch)
tree21ba265b275c1a2d0a83a8a581ce3522a738bf1b /Makefile
parent602d2b8dc2404ff3de073e84721ba0358faea161 (diff)
downloadcoreboot-staging-dc4bb0d43f3673d425ac8509762563b9053b3fb0.zip
coreboot-staging-dc4bb0d43f3673d425ac8509762563b9053b3fb0.tar.gz
Set the LIBGCC_FILE_NAME to fix problems with libgcc.a.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4584 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e8af463..76ff153 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,7 @@ HOSTCC = gcc
HOSTCXX = g++
HOSTCFLAGS := -I$(srck) -I$(objk) -g
HOSTCXXFLAGS := -I$(srck) -I$(objk)
+LIBGCC_FILE_NAME := $(shell $(CC) -print-libgcc-file-name)
DESTDIR = /opt
OpenPOWER on IntegriCloud