summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-01-28 13:36:49 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-01-28 13:36:59 +0000
commit46ea9d6b8f435e53e09a1381ccc83c4afd904b75 (patch)
treed0622f4bc7e5da16680791fb42851ba1688e3370 /dev-lang/crystal/files
parentnet-misc/stunnel: remove older versions (diff)
downloadgentoo-46ea9d6b8f435e53e09a1381ccc83c4afd904b75.tar.gz
gentoo-46ea9d6b8f435e53e09a1381ccc83c4afd904b75.tar.bz2
gentoo-46ea9d6b8f435e53e09a1381ccc83c4afd904b75.zip
dev-lang/crystal: respect LDFLAGS, new USE=debug for quick builds
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-lang/crystal/files')
-rw-r--r--dev-lang/crystal/files/crystal-0.20.5-LDFLAGS.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-lang/crystal/files/crystal-0.20.5-LDFLAGS.patch b/dev-lang/crystal/files/crystal-0.20.5-LDFLAGS.patch
new file mode 100644
index 000000000000..42970a84a7c0
--- /dev/null
+++ b/dev-lang/crystal/files/crystal-0.20.5-LDFLAGS.patch
@@ -0,0 +1,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 )