diff options
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.40.2.bb | 3 |
1 files changed, 3 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 1df1467d42..a78d2ed0be 100644 --- a/meta/recipes-devtools/perl/perl_5.40.2.bb +++ b/meta/recipes-devtools/perl/perl_5.40.2.bb | |||
| @@ -54,6 +54,9 @@ CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | |||
| 54 | # https://github.com/llvm/llvm-project/issues/152241 | 54 | # https://github.com/llvm/llvm-project/issues/152241 |
| 55 | CFLAGS:append:toolchain-clang = " -fno-strict-aliasing" | 55 | CFLAGS:append:toolchain-clang = " -fno-strict-aliasing" |
| 56 | 56 | ||
| 57 | # Needed with -march=x86-64-v3 | ||
| 58 | CFLAGS:append:toolchain-gcc:class-target:x86-64 = " -fno-builtin-memcpy -D__NO_STRING_INLINES -U_FORTIFY_SOURCE" | ||
| 59 | |||
| 57 | do_configure:prepend() { | 60 | do_configure:prepend() { |
| 58 | rm -rf ${B} | 61 | rm -rf ${B} |
| 59 | cp -rfp ${S} ${B} | 62 | cp -rfp ${S} ${B} |
