diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb index b76f120ee..9ae72d2e9 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | |||
@@ -61,6 +61,8 @@ EXTRA_OECMAKE += " \ | |||
61 | -DGCC_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \ | 61 | -DGCC_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \ |
62 | -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \ | 62 | -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \ |
63 | -DDISABLE_PYTHON_SCRIPTING=ON \ | 63 | -DDISABLE_PYTHON_SCRIPTING=ON \ |
64 | -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ | ||
65 | -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines --file-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \ | ||
64 | " | 66 | " |
65 | EXTRA_OECMAKE:append:toolchain-clang = " -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib" | 67 | EXTRA_OECMAKE:append:toolchain-clang = " -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib" |
66 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" | 68 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" |
@@ -88,6 +90,10 @@ do_configure:prepend:libc-musl() { | |||
88 | sed -i -e 's/-DHAVE_POSIX_STRERROR_R=0/-DHAVE_POSIX_STRERROR_R=1/' ${S}/CMakeLists.txt | 90 | sed -i -e 's/-DHAVE_POSIX_STRERROR_R=0/-DHAVE_POSIX_STRERROR_R=1/' ${S}/CMakeLists.txt |
89 | } | 91 | } |
90 | 92 | ||
93 | do_configure:append() { | ||
94 | sed -i -e 's|${WORKDIR}|<WORKDIR>|g' ${S}/libminifi/include/agent/agent_version.h | ||
95 | } | ||
96 | |||
91 | CFLAGS:append:libc-glibc = " -D_GNU_SOURCE" | 97 | CFLAGS:append:libc-glibc = " -D_GNU_SOURCE" |
92 | CXXFLAGS:append:libc-glibc = " -D_GNU_SOURCE" | 98 | CXXFLAGS:append:libc-glibc = " -D_GNU_SOURCE" |
93 | 99 | ||