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

26 lines
643 B
Diff
Raw Normal View History

diff --git a/source/OMakefile b/source/OMakefile
index e6bd37e..1bbc0a8 100644
--- a/source/OMakefile
+++ b/source/OMakefile
@@ -184,6 +184,12 @@ DEP_MAIN = $(FNT)/dependfront
PAR_MAIN = $(FNT)/parsefront
2015-02-21 07:41:37 +00:00
############################################################
+# Nixpkgs specific changes
+#
+
2015-02-21 07:41:37 +00:00
+LEX = flex
+
+############################################################
2015-02-21 07:41:37 +00:00
# Platform specific changes
#
@@ -194,7 +200,6 @@ if $(mem $(SYSNAME), Linux)
2015-02-21 07:41:37 +00:00
if $(mem $(OSTYPE), Cygwin Win32)
YACC = bison -by
- LEX = flex
CC = i686-pc-mingw32-gcc
2015-02-21 07:41:37 +00:00
INC_C[] += $(INC)/byteswap $(INC)/search
export