Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] freetype: fix for multilib toolchain
@ 2011-01-14  4:18 Matt Johnson
  2011-01-14  8:11 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Matt Johnson @ 2011-01-14  4:18 UTC (permalink / raw)
  To: buildroot


FreeType's makefile needs to have the architecture (example, -march=armv4t) passed in the LDFLAGS in order to work properly with a multilib toolchain, like CodeSourcery.  This is the easiest way I could think of to do it.  Tested and works.
 
Signed-off-by: Matt Johnson <mj1856@hotmail.com>
---
 package/freetype/freetype.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index ad4292f..7e59b57 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -8,6 +8,7 @@ FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/
 FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
 FREETYPE_INSTALL_STAGING = YES
 FREETYPE_INSTALL_TARGET = YES
+FREETYPE_CONF_ENV = LDFLAGS="-march=$(CC_TARGET_ARCH_) $(TARGET_LDFLAGS)"
 FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
 FREETYPE_DEPENDENCIES = host-pkg-config $(if $(BR2_PACKAGE_ZLIB),zlib)
 
-- 
1.7.1 		 	   		  

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-14 16:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14  4:18 [Buildroot] freetype: fix for multilib toolchain Matt Johnson
2011-01-14  8:11 ` Thomas Petazzoni
2011-01-14 12:47   ` Bjørn Forsman
2011-01-14 13:31     ` Michael S. Zick
2011-01-14 14:42       ` Thomas Petazzoni
2011-01-14 14:44     ` Thomas Petazzoni
2011-01-14 15:40       ` Michael S. Zick
2011-01-14 16:04       ` Matt Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox