Skip to content

Commit 7942ae6

Browse files
committed
Revert "Specify seccomp target arch for CC"
This reverts commit 969ec89. Signed-off-by: Derek McGowan <[email protected]>
1 parent f0b4258 commit 7942ae6

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ jobs:
8989
[[ "${MARCH}" == "arm64" ]] && {
9090
echo "CGO_ENABLED=1" >> $GITHUB_ENV
9191
echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
92-
echo "SECCOMP_ARCH=aarch64" >> $GITHUB_ENV
9392
}
9493
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
9594
@@ -174,7 +173,7 @@ jobs:
174173
RUNC_FLAVOR: runc
175174
run: |
176175
if [[ "${GOOS}" == "linux" ]]; then
177-
sudo -E PATH=$PATH -E SECCOMP_ARCH="${SECCOMP_ARCH}" script/setup/install-seccomp
176+
sudo -E PATH=$PATH script/setup/install-seccomp
178177
fi
179178
make cri-cni-release
180179
working-directory: src/github.com/containerd/containerd

script/setup/install-seccomp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ export SECCOMP_PATH=$(mktemp -d)
2727
curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" | tar -xzC "$SECCOMP_PATH" --strip-components=1
2828
(
2929
cd "$SECCOMP_PATH"
30-
host=""
31-
if [ -v SECCOMP_ARCH ]; then
32-
host="--host=${SECCOMP_ARCH}"
33-
fi
34-
./configure --prefix=/usr/local ${host}
30+
./configure --prefix=/usr/local
3531
make
3632
make install
3733
ldconfig

0 commit comments

Comments
 (0)