Revert "Specify seccomp target arch for CC"

This reverts commit 969ec89493.

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2021-04-29 15:05:54 -07:00
parent f0b4258904
commit 7942ae68b1
2 changed files with 2 additions and 7 deletions

View File

@@ -27,11 +27,7 @@ export SECCOMP_PATH=$(mktemp -d)
curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" | tar -xzC "$SECCOMP_PATH" --strip-components=1
(
cd "$SECCOMP_PATH"
host=""
if [ -v SECCOMP_ARCH ]; then
host="--host=${SECCOMP_ARCH}"
fi
./configure --prefix=/usr/local ${host}
./configure --prefix=/usr/local
make
make install
ldconfig