diff options
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.40.2.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.40.2.bb b/meta/recipes-devtools/perl/perl_5.40.2.bb index c3bcbf053d..1df1467d42 100644 --- a/meta/recipes-devtools/perl/perl_5.40.2.bb +++ b/meta/recipes-devtools/perl/perl_5.40.2.bb | |||
| @@ -50,6 +50,10 @@ export ENC2XS_NO_COMMENTS = "1" | |||
| 50 | 50 | ||
| 51 | CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | 51 | CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| 52 | 52 | ||
| 53 | # Perl built with clang runs into sefaults with clang-21+ | ||
| 54 | # https://github.com/llvm/llvm-project/issues/152241 | ||
| 55 | CFLAGS:append:toolchain-clang = " -fno-strict-aliasing" | ||
| 56 | |||
| 53 | do_configure:prepend() { | 57 | do_configure:prepend() { |
| 54 | rm -rf ${B} | 58 | rm -rf ${B} |
| 55 | cp -rfp ${S} ${B} | 59 | cp -rfp ${S} ${B} |
