slang-users mailing list

[2016 Date Index] [2016 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] [PATCH] Fix building with many jobs


From: Kylie McClain <somasis@xxxxxxxxxxx>

Without depending on ELFDIR, objects can fail to build if the directory
has not been created yet. This fixes that.
---
 autoconf/aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
index 383256d..720f460 100644
--- a/autoconf/aclocal.m4
+++ b/autoconf/aclocal.m4
@@ -400,7 +400,7 @@ dnl#}}}
 AC_DEFUN([JD_CREATE_ELFORULE], dnl#{{{
 [
 PROGRAM_ELF_ORULES="$PROGRAM_ELF_ORULES
-\$(ELFDIR)/$1.o : \$(SRCDIR)/$1.c \$(DOT_O_DEPS) \$("$1"_O_DEP)
+\$(ELFDIR)/$1.o : \$(ELFDIR) \$(SRCDIR)/$1.c \$(DOT_O_DEPS) \$("$1"_O_DEP)
 	cd \$(ELFDIR) && \$(ELFCOMPILE_CMD) \$("$1"_C_FLAGS) \$(SRCDIR)/$1.c
 "
 ])
-- 
2.9.0

_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.


[2016 date index] [2016 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]