summary refs log tree commit diff
path: root/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
blob: fa82d80633ad752a62d9433bf940c2e1772821be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
 
 ############################################################
+# Nixpkgs specific changes
+#
+
+LEX = flex
+
+############################################################
 # Platform specific changes
 #
 
@@ -194,7 +200,6 @@ if $(mem $(SYSNAME), Linux)
 
 if $(mem $(OSTYPE), Cygwin Win32)
     YACC = bison -by
-    LEX = flex
     CC = i686-pc-mingw32-gcc
     INC_C[] += $(INC)/byteswap $(INC)/search
     export