From 6dc42270b83fef1f2f975d2dc2d9fce3433347c0 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Thu, 8 Mar 2012 07:50:06 +0100 Subject: Fix the erlc -MP flag Because of a copy-and-paste error in erlc.c, the -MP flag had the same effect as -MG. As a workaround, you had to pass +makedep_phony to enable the MP option. This patch makes -MP work as intended. --- lib/compiler/test/compile_SUITE_data/simple-phony.mk | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/compiler/test/compile_SUITE_data/simple-phony.mk (limited to 'lib/compiler/test/compile_SUITE_data') diff --git a/lib/compiler/test/compile_SUITE_data/simple-phony.mk b/lib/compiler/test/compile_SUITE_data/simple-phony.mk new file mode 100644 index 0000000000..c84bcedd2a --- /dev/null +++ b/lib/compiler/test/compile_SUITE_data/simple-phony.mk @@ -0,0 +1,3 @@ +simple.beam: $(srcdir)/simple.erl $(srcdir)/include/simple.hrl + +$(srcdir)/include/simple.hrl: -- cgit v1.2.3