summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-06-30 18:46:12 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-06-30 18:46:12 +0200
commita51f93cb530a05478e559ae5d6fd0ca3bd91a134 (patch)
treef452e5c3acf3a4f419cfa000195bf8dbe899c8ab
parent3d368c0b6476f39a94eed012eaadc81d6bddceae (diff)
tegrarcm: build with static libstdc++
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes-bsp/tegrarcm/tegrarcm.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/tegrarcm/tegrarcm.bb b/recipes-bsp/tegrarcm/tegrarcm.bb
index 4003e24..953c3ea 100644
--- a/recipes-bsp/tegrarcm/tegrarcm.bb
+++ b/recipes-bsp/tegrarcm/tegrarcm.bb
@@ -18,6 +18,8 @@ PV = "1.7"
EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"'
+LDFLAGS_append=" -static-libstdc++"
+
#we want tegrarcm binary to run on a 32-bit architecture, on x86_64 this requires the 32-bit compatibility libs
EXTRA_OEMAKE_class-native = "CC='${CC} -m32' CXX='${CXX} -m32'"