From e0726983e291c4d7670cdba399808763c993b25c Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 20 Nov 2006 09:18:47 +0000 Subject: enca: remove -I/usr/include from Makefiles and build native tools without -I --- packages/enca/enca_1.9.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'packages/enca/enca_1.9.bb') diff --git a/packages/enca/enca_1.9.bb b/packages/enca/enca_1.9.bb index 48e33e376e..adc6e5fef7 100644 --- a/packages/enca/enca_1.9.bb +++ b/packages/enca/enca_1.9.bb @@ -11,8 +11,13 @@ SRC_URI = "http://trific.ath.cx/Ftp//enca/enca-${PV}.tar.bz2 \ inherit autotools +do_configure_append() { + sed -i s:-I/usr/include::g Makefile + sed -i s:-I/usr/include::g */Makefile +} + do_compile() { - cd ${S}/tools && oe_runmake CC="${BUILD_CC}" + cd ${S}/tools && make CC="${BUILD_CC}" CFLAGS="-O2" CPPFLAGS="" oe_runmake } -- cgit v1.2.3