diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-11-20 17:50:34 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-11-28 12:35:34 +0100 |
commit | 2ff2859c237a0b4928c28a0086dd2f5fb9b2da70 (patch) | |
tree | 27f74d10d90d21fc7732d7e0b0b9bb0a01619a21 /.github | |
parent | 638207a2ff91089de7679b4ed20fc0b01116c37c (diff) |
Add compat mode for systems without openat(2)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |