* When building from OE CFLAGS will be passed in.
* When building from within the sdk CFLAGS from Rules.make will be used.
* This insures the optimal CFLAGS are used which corrects optimization and also
  the correct toolchain settings (ie softfp/hardfp) are used.

Signed-off-by: Franklin S. Cooper Jr <[email protected]>
---
 .../recipes-graphics/screenshot/screenshot_1.0.bb  |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb 
b/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb
index ed819d0..096aa40 100644
--- a/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb
+++ b/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb
@@ -4,23 +4,23 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5cad16cc3f514a15adb1d710b82d5fc4"
 SECTION = "graphics"
 
-PR = "r0"
+PR = "r1"
 
 BRANCH ?= "master"
-SRCREV = "1f11a23be4386c2ee0387cd12c1a9569c703a3bb" 
+SRCREV = "169242aa7a265d5c94755d74601ad4a3f1828c96"
 
 SRC_URI = 
"git://gitorious.org/screenshot/screenshot.git;protocol=git;branch=${BRANCH}"
 
+
 S = "${WORKDIR}/git"
 
 do_compile() {
     export CROSS_COMPILE=${TARGET_PREFIX}
-    export ARCH=${ARMPKGARCH}
+    export CFLAGS='${TARGET_CC_ARCH}'
     # build the release version
     make release
 }
 
 do_install() {
-    export ARCH=${ARMPKGARCH}
     make DESTDIR=${D} install
 }
-- 
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to