aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-core/runit
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yerba/recipes-core/runit')
-rw-r--r--meta-yerba/recipes-core/runit/runit_2.3.1.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-yerba/recipes-core/runit/runit_2.3.1.bb b/meta-yerba/recipes-core/runit/runit_2.3.1.bb
index e6e0617..4b8122b 100644
--- a/meta-yerba/recipes-core/runit/runit_2.3.1.bb
+++ b/meta-yerba/recipes-core/runit/runit_2.3.1.bb
@@ -10,6 +10,11 @@ S = "${WORKDIR}/git"
do_compile() {
cd ${S}
+ export CC="${CC}"
+ export AR="${AR}"
+ export RANLIB="${RANLIB}"
+ export CFLAGS="${CFLAGS} -D_GNU_SOURCE -static"
+ export LDFLAGS="${LDFLAGS} -static"
./package/compile
}
@@ -44,5 +49,5 @@ RDEPENDS:${PN} += "busybox"
PROVIDES += "runit-init"
-# Prevents yocto from shitting itself and telling me "oh its a fatal QA issue the binaries are stripped" LET ME LIVE
+# Prevents yocto from shitting itself and telling me "oh its a fatal QA issue the binaries are stripped" LET ME L
INSANE_SKIP:${PN} += "already-stripped debug-files"