build: fix macos/clang build (disable guile)

error: invalid argument '-std=gnu11' not allowed with 'C++'
This commit is contained in:
Dirk-Jan C. Binnema 2021-10-18 22:31:44 +03:00
parent 8699123684
commit 88f5f92b72
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ jobs:
brew install meson ninja libgpg-error libtool pkg-config glib gmime xapian
- name: configure
run: ./autogen.sh --disable-guile
run: ./autogen.sh -Dguile=disabled
- name: build
run: make

View File

@ -18,7 +18,7 @@ fi
# we could remove build/ but let's avoid rm -rf risks...
if test -d ${BUILDDIR}; then
meson --reconfigure ${BUILDDIR}
meson --reconfigure ${BUILDDIR} $@
else
meson ${BUILDDIR} $@
fi