nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
Vincent Laporte 3c7bd996e6 Revert "teyjus: 2.0b2 -> 2.1"
This reverts commit 7f501d7f02ed614f2159ae8b0855f33d796d6819.
2016-12-18 09:51:00 +00:00

24 lines
591 B
Diff

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