diff options
author | Adam Sampson <ats@offog.org> | 2018-04-03 23:48:43 +0100 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-04-04 16:43:24 +0300 |
commit | 2440f7220f6416156f3daf24dd073be396a44dcd (patch) | |
tree | db01b9d576863228b74e2eebeb8f63ad77d25c23 /assembler/meson.build | |
parent | cad5fc06f954546042a432202cbe7e5a20fe1132 (diff) | |
download | platform_external_igt-gpu-tools-2440f7220f6416156f3daf24dd073be396a44dcd.tar.gz platform_external_igt-gpu-tools-2440f7220f6416156f3daf24dd073be396a44dcd.tar.bz2 platform_external_igt-gpu-tools-2440f7220f6416156f3daf24dd073be396a44dcd.zip |
Use flex -i when building with meson.
When built with automake, the assembler's tokeniser is built with -i,
making it case-insensitive. This wasn't being done with meson.
(The symptom was build failures in intel-vaapi-driver, which uses
register types like ":ub". In lex.l, they're written as ":UB", so the
lexer was rejecting them without -i.)
Signed-off-by: Adam Sampson <ats@offog.org>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'assembler/meson.build')
-rw-r--r-- | assembler/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assembler/meson.build b/assembler/meson.build index 7517d82f..c858bc0f 100644 --- a/assembler/meson.build +++ b/assembler/meson.build @@ -19,7 +19,7 @@ bison = find_program('bison') lgen = generator(flex, output : '@BASENAME@.c', - arguments : ['-o', '@OUTPUT@', '@INPUT@']) + arguments : ['-i', '-o', '@OUTPUT@', '@INPUT@']) lfiles = lgen.process('lex.l') |