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

24 lines
591 B
Diff
Raw Normal View History

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
2015-02-21 07:41:37 +00:00
DEP_MAIN = $(FNT)/dependfront
############################################################
+# Nixpkgs specific changes
+#
+
2015-02-21 07:41:37 +00:00
+LEX = flex
+
+############################################################
2015-02-21 07:41:37 +00:00
# Platform specific changes
#
if $(mem $(OSTYPE), Cygwin Win32)
YACC = bison -by
- LEX = flex
CFLAGS += -mno-cygwin
2015-02-21 07:41:37 +00:00
INC_C[] += $(INC)/byteswap $(INC)/search
export