From 289679bab09b27d0f0d88967a5edc1212e2ea348 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Fri, 8 Nov 2019 12:09:42 +0000 Subject: Minor corrections applied in software builds While working on a different branch to build the GNU C Library, I noticed a few places in the template that need corrections which are now applied: 1. A new-line character after the "C compiler works" notice at the start of the configure script. 2. Removing possible `::' in the `LD_LIBRARY_PATH' definition of `basic.mk'. Note that its not necessary in the other steps because we don't use any outside-defined `LD_LIBRARY_PATH'. 3. Building GMP for C++ and also with `--enable-fat'. 4. Removing the unpacked Perl tarball directory after its installation. --- reproduce/software/bash/configure.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'reproduce/software/bash') diff --git a/reproduce/software/bash/configure.sh b/reproduce/software/bash/configure.sh index 535fcc4..821b303 100755 --- a/reproduce/software/bash/configure.sh +++ b/reproduce/software/bash/configure.sh @@ -676,10 +676,10 @@ gcc_works=0 testprog=$tmpblddir/test-c testsource=$tmpblddir/test.c echo; echo; echo "Checking host C compiler..."; -echo "#include " > $testsource -echo "#include " >> $testsource -echo "int main(void){printf(\"...C compiler works.\");" >> $testsource -echo " return EXIT_SUCCESS;}" >> $testsource +echo "#include " > $testsource +echo "#include " >> $testsource +echo "int main(void){printf(\"...C compiler works.\n\");" >> $testsource +echo " return EXIT_SUCCESS;}" >> $testsource if gcc $testsource -o$testprog && $testprog; then rm $testsource $testprog else -- cgit v1.2.1