Browse Source

build: fix macos/clang build (disable guile)

error: invalid argument '-std=gnu11' not allowed with 'C++'
pull/2161/head
Dirk-Jan C. Binnema 10 months ago
parent
commit
88f5f92b72
  1. 2
      .github/workflows/build-and-test.yml
  2. 2
      autogen.sh

2
.github/workflows/build-and-test.yml

@ -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

2
autogen.sh

@ -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

Loading…
Cancel
Save