All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] openmpacc: remove -march=armv7-a gcc flag, OE passes correct one
@ 2016-04-13 16:30 Denys Dmytriyenko
  0 siblings, 0 replies; only message in thread
From: Denys Dmytriyenko @ 2016-04-13 16:30 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

We already pass the necessary -march, -mcu, -mfpu and -mfloat-abi flags based
on the machine tunes. Moreover, cortex-a15 is not armv7-a, but armv7ve, so gcc
will give a warning, but since also -Werror is passed, it breaks the build.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb b/meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb
index 89f6b79..8fec0d1 100644
--- a/meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb
+++ b/meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb
@@ -17,3 +17,7 @@ export LINUX_DEVKIT_ROOT = "${STAGING_DIR_HOST}"
 EXTRA_OECMAKE += "-DVERSION="${PV}" -DBUILD_OUTPUT=lib"
 
 FILES_${PN} += "/usr/share/ti/openmpacc/*"
+
+do_configure_prepend() {
+	sed -i -e 's/-march=armv7-a//' ${S}/libompacc/CMakeLists.txt
+}
-- 
2.2.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-13 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 16:30 [PATCH] openmpacc: remove -march=armv7-a gcc flag, OE passes correct one Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.