mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 01:15:37 +08:00
imagemagick: --without-gcc-arch
ax_gcc_archflag has no Zen cpuid pattern and falls back to -mtune=amdfam10, which under LLVM+LTO emits SSE4a extrq and SIGILLs on Intel hosts. Disable the implicit --with-gcc-arch so host CPU features do not bleed into the built binaries.
This commit is contained in:
@@ -42,6 +42,9 @@ class imagemagick
|
|||||||
->addConfigureArgs(
|
->addConfigureArgs(
|
||||||
'--disable-openmp',
|
'--disable-openmp',
|
||||||
'--without-x',
|
'--without-x',
|
||||||
|
// implicit --with-gcc-arch
|
||||||
|
// bleeds host cpu features into built binaries
|
||||||
|
'--without-gcc-arch',
|
||||||
);
|
);
|
||||||
|
|
||||||
// special: linux-static target needs `-static`
|
// special: linux-static target needs `-static`
|
||||||
|
|||||||
Reference in New Issue
Block a user