pkgsrc-wip/ocaml/patches/patch-tools_Makefile

14 lines
493 B
Plaintext

$NetBSD$
--- tools/Makefile.orig 2019-03-01 15:13:46.000000000 +0000
+++ tools/Makefile
@@ -81,7 +81,7 @@ INCLUDES = $(addprefix -I $(ROOTDIR)/,ut
middle_end middle_end/base_types driver toplevel)
COMPFLAGS = -absname -w +a-4-9-41-42-44-45-48 -strict-sequence -warn-error A \
-safe-string -strict-formats -bin-annot $(INCLUDES)
-LINKFLAGS = $(INCLUDES)
+LINKFLAGS = $(INCLUDES) -cclib "$(LDFLAGS)"
VPATH := $(filter-out -I,$(INCLUDES))
# scrapelabels addlabels