summary refs log tree commit diff
path: root/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
blob: d2da1d3faccac4db063facecc8bbadb59410be62 (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
diff --git a/source/OMakefile b/source/OMakefile
index 6b19d84..095b8b6 100644
--- a/source/OMakefile
+++ b/source/OMakefile
@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
 DEP_MAIN = $(FNT)/dependfront
 
 ############################################################
+# Nixpkgs specific changes
+#
+
+LEX = flex
+
+############################################################
 # Platform specific changes
 #
 
 if $(mem $(OSTYPE), Cygwin Win32)
     YACC = bison -by
-    LEX = flex
     CFLAGS += -mno-cygwin
     INC_C[] += $(INC)/byteswap $(INC)/search
     export