diff options
Diffstat (limited to 'pkgs/development/compilers/teyjus/fix-lex-to-flex.patch')
-rw-r--r-- | pkgs/development/compilers/teyjus/fix-lex-to-flex.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch b/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch new file mode 100644 index 00000000000..d2da1d3facc --- /dev/null +++ b/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch @@ -0,0 +1,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 |