[PATCH 1/2] Fix parallel make -j4
Reini Urban <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
intparam.h and floatparam.h clash, overwriting each others tmp.c with parallel make. fixes https://github.com/rurban/clisp/issues/1 --- src/makemake.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- Reini ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel
0001-Fix-parallel-make-j4.patch
(application/octet-stream, 1.1 KB)
From a4450fe1be5c22d7808e2ae74270f555441eab6f Mon Sep 17 00:00:00 2001 From: Reini Urban <[email protected]> Date: Mon, 20 Mar 2017 07:35:07 +0100 Subject: [PATCH 1/2] Fix parallel make -j4 intparam.h and floatparam.h clash, overwriting each others tmp.c with parallel make. fixes https://github.com/rurban/clisp/issues/1 --- src/makemake.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git src/makemake.in src/makemake.in index 0f5dd81b1..de3558bc9 100644 --- src/makemake.in +++ src/makemake.in @@ -2345,11 +2345,11 @@ for parf in ${PARAMS}; do echotab '$(TOUCH) '"${parf}.h" else echol "${parf}.h : ${SRCDIR}${parf}.c config.h" - echotab "echo '#include \"config.h\"' > tmp.c" - echotab "cat '${SRCDIR}${parf}.c' >> tmp.c" - echotab_to_HEXE "\$(CC)" "tmp.c" "${parf}" + echotab "echo '#include \"config.h\"' > ${parf}tmp.c" + echotab "cat '${SRCDIR}${parf}.c' >> ${parf}tmp.c" + echotab_to_HEXE "\$(CC)" "${parf}tmp.c" "${parf}" echotab "${HERE}${parf}${HEXE} ${parf}.h" - echotab "\$(RM) ${parf}${HEXE} tmp.c" + echotab "\$(RM) ${parf}${HEXE} ${parf}tmp.c" fi echol done -- 2.12.0