diff options
author | Koen Kooi <koen@openembedded.org> | 2006-11-20 09:18:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-11-20 09:18:47 +0000 |
commit | e0726983e291c4d7670cdba399808763c993b25c (patch) | |
tree | 48616a946c29235e29ba0abbbd859fd97d0fb00a /packages/enca/enca_1.9.bb | |
parent | e287840babfb3ad53bc80584bf55e665102dc862 (diff) |
enca: remove -I/usr/include from Makefiles and build native tools without -I<staging cross>
Diffstat (limited to 'packages/enca/enca_1.9.bb')
-rw-r--r-- | packages/enca/enca_1.9.bb | 7 |
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 } |