Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fac4fa85 authored by Luca Stefani's avatar Luca Stefani
Browse files

Move away from USE_HOST flag and introduce $BINARY_EXEC

* The prebuilt flex binary crashes due changes in newer glibc versions,
  and the prebuilt bison binary doesn't work on newer Darwin versions.

* While this works for most of the usecases,
  you shouldn't pollute your path with an older version of flex or bison,
  and at the same time you shouldn't use the binary provided
  by the host for compatibility reasons
 -> Add a flag to allow the user to provide its own flex and bison binary,
    that should match the version provided by AOSP.

Usage: Add `export FLEX_EXEC=$path_to_flex` in your .bashrc/.zshrc
Example: `export FLEX_EXEC=$HOME/android/flex-2.5.39`

Change-Id: I75f98372a221b48636f870a5b7984f0a779fa29d
parent 4ae86f76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment