summaryrefslogtreecommitdiff
path: root/dev-lang/crystal/files/crystal-0.20.5-LDFLAGS.patch
blob: 42970a84a7c066f5a8b8e95ac31a98e2615f1c8d (plain)
1
2
3
4
5
6
7
8
9
diff --git a/Makefile b/Makefile
index fa71479..d316bbc 100644
--- a/Makefile
+++ b/Makefile
@@ -24,3 +24,3 @@ SOURCES := $(shell find src -name '*.cr')
 SPEC_SOURCES := $(shell find spec -name '*.cr')
-FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(verbose),--verbose )
+FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(verbose),--verbose )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )
 VERBOSE := $(if $(verbose),-v )