From 2c514ff4193274546fb3cb0723dd71d40f5f020a Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 29 Dec 2016 14:20:54 +0100 Subject: tegrarcm-native: fix compilation not using host headers/libraries Turns out our build was using the library from the build machine which at least on Fedora 23 seems broken. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- recipes-bsp/tegrarcm/tegrarcm.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/recipes-bsp/tegrarcm/tegrarcm.bb b/recipes-bsp/tegrarcm/tegrarcm.bb index 044b119..66b949a 100644 --- a/recipes-bsp/tegrarcm/tegrarcm.bb +++ b/recipes-bsp/tegrarcm/tegrarcm.bb @@ -21,11 +21,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'" - -do_compile () { - oe_runmake CPPFLAGS=-I${includedir}/cryptopp || die "make failed" -} +EXTRA_OEMAKE_class-native = "CC='${CC} -m32' CXX='${CXX} -m32 -I${includedir}/cryptopp'" S = "${WORKDIR}/git" -- cgit v1.2.3