nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch

24 lines
575 B
Diff
Raw Normal View History

2016-12-02 20:35:11 +01:00
--- 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 @@
2015-02-21 08:41:37 +01:00
DEP_MAIN = $(FNT)/dependfront
2016-12-02 20:35:11 +01:00
PAR_MAIN = $(FNT)/parsefront
2015-02-21 08:41:37 +01:00
+LEX = flex
+
2016-12-02 20:35:11 +01:00
############################################################
2015-02-21 08:41:37 +01:00
# Platform specific changes
#
2016-12-02 20:35:11 +01:00
if $(mem $(SYSNAME), Linux)
YACC = bison -by
- LEX = flex
export
2015-02-21 08:41:37 +01:00
if $(mem $(OSTYPE), Cygwin Win32)
YACC = bison -by
- LEX = flex
2016-12-02 20:35:11 +01:00
CC = i686-pc-mingw32-gcc
2015-02-21 08:41:37 +01:00
INC_C[] += $(INC)/byteswap $(INC)/search
export