diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-06 16:26:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-06 19:20:48 +0100 |
commit | 0a803c0a41f46be4019ddd2768b4be5669b7ab59 (patch) | |
tree | 34f7ce80c998e8876de81bde1aa0b10521dd343b /config_host.mk.in | |
parent | a596dd99de287c696c70f0c789a774399381f36f (diff) |
Honor BISON passed into configure
...and require new-enough Bison for --enable-compiler-plugins to not generate
bogus loplugin:external warnings in Bison boilerplate code. (As happend for me
on macOS where /usr/bin/bison is version 2.3. Not sure which versions exactly
are too old, but at least 3.4.1 is known good. If other versions newer than 2.3
turn out to be problematic too, the configure.ac check will need to be adapted.)
No idea why there need to be three places across solenv/gbuild/ that set
gb_YACC (to the same bison in each case), but leave that to be cleaned up later.
Change-Id: I01d8219726f8df7895631b817866207327367759
Reviewed-on: https://gerrit.libreoffice.org/84650
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'config_host.mk.in')
-rw-r--r-- | config_host.mk.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in index 35f92df1d641..ffd553acecc0 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -36,6 +36,7 @@ export AVAHI_LIBS=$(gb_SPACE)@AVAHI_LIBS@ export LIBATOMIC_OPS_CFLAGS=$(gb_SPACE)@LIBATOMIC_OPS_CFLAGS@ export LIBATOMIC_OPS_LIBS=$(gb_SPACE)@LIBATOMIC_OPS_LIBS@ export BINDIR=@BINDIR@ +export BISON=@BISON@ export BOOST_CPPFLAGS=@BOOST_CPPFLAGS@ export BOOST_CXXFLAGS=@BOOST_CXXFLAGS@ export BOOST_LOCALE_LIB=@BOOST_LOCALE_LIB@ |