mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(ghostscript) (#3936)
* fix(ghostscript) closes #3920 * linux-aarch64 doesn't like -mfpu=neon * configure too
This commit is contained in:
parent
49deae89c5
commit
2ced37bd77
|
@ -31,10 +31,17 @@ build:
|
|||
script:
|
||||
- rm -rf expat freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
|
||||
# ^^ ensure our libs are used and nothing is vendored
|
||||
- run: |
|
||||
sed -i.bak -e's/-mfpu=neon//g' tesseract/CMakeLists.txt tesseract/configure.ac configure.ac configure
|
||||
rm tesseract/CMakeLists.txt.bak tesseract/configure.ac.bak configure.ac.bak configure.bak
|
||||
if: linux/aarch64
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
- make install-so
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
LD: clang
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --disable-compile-inits
|
||||
|
|
Loading…
Reference in a new issue