[oe-commits] org.oe.dev enca: remove -I/usr/include from Makefiles and build native tools without -I<staging cross>

koen commit openembedded-commits at lists.openembedded.org
Mon Nov 20 09:20:54 UTC 2006


enca: remove -I/usr/include from Makefiles and build native tools without -I<staging cross>

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 697fec81441b0b917323c2bac556f686813d0440
ViewMTN: http://monotone.openembedded.org/revision.psp?id=697fec81441b0b917323c2bac556f686813d0440
Files:
1
packages/enca/enca_1.9.bb
Diffs:

#
# mt diff -r73d70f59f2e6cdd251e1e656d513bb2feb1a7656 -r697fec81441b0b917323c2bac556f686813d0440
#
# 
# 
# patch "packages/enca/enca_1.9.bb"
#  from [622a10b5e17297c2a89a090506c2ca4494d84bf3]
#    to [ec73563b7e6b2247a3baa46a4e56b67390a9a290]
# 
============================================================
--- packages/enca/enca_1.9.bb	622a10b5e17297c2a89a090506c2ca4494d84bf3
+++ packages/enca/enca_1.9.bb	ec73563b7e6b2247a3baa46a4e56b67390a9a290
@@ -11,8 +11,13 @@ inherit autotools 
 
 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
 }
 






More information about the Openembedded-commits mailing list