From 2ff2859c237a0b4928c28a0086dd2f5fb9b2da70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 20 Nov 2020 17:50:34 +0100 Subject: Add compat mode for systems without openat(2) --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac839c53..761d6ffb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,11 @@ jobs: run: ./autogen.sh - name: Configure run: ./configure --enable-werror --enable-linux-affinity --disable-unicode --disable-sensors + - name: Enable compatibility modes + run: | + sed -i 's/#define HAVE_FSTATAT 1/#undef HAVE_FSTATAT/g' config.h + sed -i 's/#define HAVE_OPENAT 1/#undef HAVE_OPENAT/g' config.h + sed -i 's/#define HAVE_READLINKAT 1/#undef HAVE_READLINKAT/g' config.h - name: Build run: make -k - name: Distcheck -- cgit v1.2.3