1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
2016-12-02 19:49:07 +00:00

24 lines
575 B
Diff

--- a/source/OMakefile 1970-01-01 00:00:01.000000000 +0000
+++ b/source/OMakefile 2016-12-02 08:48:42.000000000 +0000
@@ -183,18 +183,18 @@
DEP_MAIN = $(FNT)/dependfront
PAR_MAIN = $(FNT)/parsefront
+LEX = flex
+
############################################################
# Platform specific changes
#
if $(mem $(SYSNAME), Linux)
YACC = bison -by
- LEX = flex
export
if $(mem $(OSTYPE), Cygwin Win32)
YACC = bison -by
- LEX = flex
CC = i686-pc-mingw32-gcc
INC_C[] += $(INC)/byteswap $(INC)/search
export