diff options
Diffstat (limited to 'packages/enca')
-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 } |