aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/flex/flex_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/flex/flex_%.bbappend')
-rw-r--r--recipes-devtools/flex/flex_%.bbappend10
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes-devtools/flex/flex_%.bbappend b/recipes-devtools/flex/flex_%.bbappend
index c87d919..93fa850 100644
--- a/recipes-devtools/flex/flex_%.bbappend
+++ b/recipes-devtools/flex/flex_%.bbappend
@@ -1,7 +1,5 @@
-do_configure_prepend_darwin () {
- sed -i -e '3d' -e 's/lib.c/lib.c malloc.c realloc.c/' ${S}/lib/Makefile.am
-}
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
-do_compile_prepend_darwin () {
- sed -i ${B}/Makefile -e 's/-no-undefined//;'
-} \ No newline at end of file
+SRC_URI:append:class-nativesdk:darwin21 = "\
+ file://0001-scanner-include-flexdevh-at-top-block-of-scanl.patch \
+ "