build: fix macos/clang build (disable guile)
error: invalid argument '-std=gnu11' not allowed with 'C++'
This commit is contained in:
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
brew install meson ninja libgpg-error libtool pkg-config glib gmime xapian
|
brew install meson ninja libgpg-error libtool pkg-config glib gmime xapian
|
||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
run: ./autogen.sh --disable-guile
|
run: ./autogen.sh -Dguile=disabled
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: make
|
run: make
|
||||||
|
|||||||
@ -18,7 +18,7 @@ fi
|
|||||||
|
|
||||||
# we could remove build/ but let's avoid rm -rf risks...
|
# we could remove build/ but let's avoid rm -rf risks...
|
||||||
if test -d ${BUILDDIR}; then
|
if test -d ${BUILDDIR}; then
|
||||||
meson --reconfigure ${BUILDDIR}
|
meson --reconfigure ${BUILDDIR} $@
|
||||||
else
|
else
|
||||||
meson ${BUILDDIR} $@
|
meson ${BUILDDIR} $@
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user