* 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]>
---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb 
b/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
index 23acd42..ce18860 100644
--- a/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
+++ b/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
@@ -4,10 +4,10 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
 SECTION = "system"
 
-PR = "r4"
+PR = "r5"
 
 BRANCH ?= "master"
-SRCREV = "9b7b4fbde8fcf796a23da2a464dbf934e550f6c9"
+SRCREV = "176c8869817913967ae1a0d561535eb40ba8a527"
 
 SRC_URI = 
"git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=${BRANCH}"
 
@@ -18,6 +18,7 @@ PLATFORM_ARCH_omapl138 = "armv5te"
 
 do_compile() {
        export CROSS_COMPILE=${TARGET_PREFIX}
+       export CFLAGS='${TARGET_CC_ARCH}'
        # build the release version
        oe_runmake -C ${PLATFORM_ARCH} release
 }
-- 
1.7.0.4

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

Reply via email to