2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

Fix 32-bit linux build

This commit is contained in:
Jay Berkenbilt 2023-05-20 11:49:39 -04:00
parent 3f2b61ae00
commit 32ae60b6d6

View File

@ -4,8 +4,8 @@ set -ex
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-get update sudo apt-get update
sudo apt-get -y install \ sudo apt-get -y install \
build-essential cmake zlib1g-dev:i386 libjpeg-dev:i386 \ build-essential cmake libc6-i386 libgcc-s1:i386 \
libssl-dev:i386 g++-multilib zlib1g-dev:i386 libjpeg-dev:i386 libssl-dev:i386 g++-multilib
CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 \ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 \
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release \ cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release \
-DUSE_IMPLICIT_CRYPTO=0 -DBUILD_STATIC_LIBS=0 \ -DUSE_IMPLICIT_CRYPTO=0 -DBUILD_STATIC_LIBS=0 \