aboutsummaryrefslogtreecommitdiffstats
path: root/core/compat.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-03-19 12:29:49 +0100
committerLoïc Hoguin <[email protected]>2016-03-19 12:29:49 +0100
commit12e5c5f57def8fd137f680051be20dd33332595f (patch)
tree0f27226a629a36124204a8b68d1cadd9fc2d358b /core/compat.mk
parentac9a8b47531071cfa908b1538a5b26cbf6e16d9d (diff)
parent9a90461dbcdc5406ba0936e07d13bb76ad12cb00 (diff)
downloaderlang.mk-12e5c5f57def8fd137f680051be20dd33332595f.tar.gz
erlang.mk-12e5c5f57def8fd137f680051be20dd33332595f.tar.bz2
erlang.mk-12e5c5f57def8fd137f680051be20dd33332595f.zip
Merge branch 'erlc-opts-sed' of https://github.com/Gatzy118/erlang.mk
Diffstat (limited to 'core/compat.mk')
-rw-r--r--core/compat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/compat.mk b/core/compat.mk
index 239bc1c..eff4915 100644
--- a/core/compat.mk
+++ b/core/compat.mk
@@ -6,7 +6,7 @@
# We strip out -Werror because we don't want to fail due to
# warnings when used as a dependency.
-compat_prepare_erlc_opts = $(shell echo "$1" | sed 's/, */,/')
+compat_prepare_erlc_opts = $(shell echo "$1" | sed 's/, */,/g')
define compat_convert_erlc_opts
$(if $(filter-out -Werror,$1),\