From 74221f7a4a20694a2aaf20cf9dd0d39b49f73822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hinderer?= Date: Wed, 19 Oct 2022 23:07:25 +0200 Subject: Fix the build of ocamllex The rules were using the LINKFLAGS variable whose definition had been lost while merging lex/Makefile in the root Makefile. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6f4dc0c98f..184c1fc31a 100644 --- a/Makefile +++ b/Makefile @@ -1090,10 +1090,10 @@ ocamllex.opt: ocamlopt $(MAKE) lex-allopt lex/ocamllex$(EXE): $(ocamllex_MODULES:=.cmo) - $(CAMLC) $(LINKFLAGS) -compat-32 -o $@ $^ + $(CAMLC) $(OC_COMMON_LDFLAGS) -compat-32 -o $@ $^ lex/ocamllex.opt$(EXE): $(ocamllex_MODULES:=.cmx) - $(CAMLOPT_CMD) $(LINKFLAGS) -o $@ $^ + $(CAMLOPT_CMD) $(OC_COMMON_LDFLAGS) -o $@ $^ partialclean:: rm -f lex/*.cm* lex/*.o lex/*.obj -- cgit v1.2.1