summaryrefslogtreecommitdiff
path: root/packages/enca
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-11-20 09:18:47 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-20 09:18:47 +0000
commite0726983e291c4d7670cdba399808763c993b25c (patch)
tree48616a946c29235e29ba0abbbd859fd97d0fb00a /packages/enca
parente287840babfb3ad53bc80584bf55e665102dc862 (diff)
enca: remove -I/usr/include from Makefiles and build native tools without -I<staging cross>
Diffstat (limited to 'packages/enca')
-rw-r--r--packages/enca/enca_1.9.bb7
1 files changed, 6 insertions, 1 deletions
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
}