Skip to content

Bison>3.3 update, prefix adjustment

Richard Bachmann requested to merge Redo_of_Bison_relocation_fix into latest_20200115

The last fix did not leave bison in a correct working state.

New changes:

  • The relocatable config flag was first introduced in bison 3.3, so the bison version has been changed 3.0.4->3.5
  • The prefix flag set to empty string. The recommendations regarding prefix here https://www.gnu.org/software/bison/manual/bison.html#Enabling-Relocatability seem to not behave as expected, as the directory which is explicitly not supposed to exist is created inside DESTDIR. Leaving the prefix undefined leads to bison creating /usr/local inside of DESTDIR, which is not desired either. So it is set to an empty string.
Edited by Richard Bachmann

Merge request reports

Loading