Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (1ce2ae78355a31ea965220d3a8f52cd70373a5ce)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (1ce2ae78355a31ea965220d3a8f52cd70373a5ce)
  • Date: Tue, 28 Jun 2016 20:57:57 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

gnu/gcc/BUILD | 2 +-
gnu/gcc/PREPARE | 15 +++++----------
2 files changed, 6 insertions(+), 11 deletions(-)

New commits:
commit 1ce2ae78355a31ea965220d3a8f52cd70373a5ce
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gcc: C and C++ are mandatory, fix query

commit 53909e86a782efc8a7f554c5a2976d8d0366b602
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gcc: Add java if GCC_COMPILER=all

diff --git a/gnu/gcc/BUILD b/gnu/gcc/BUILD
index 4a74f8e..20ccc33 100755
--- a/gnu/gcc/BUILD
+++ b/gnu/gcc/BUILD
@@ -87,7 +87,7 @@ OPTS="--libexecdir=${INSTALL_ROOT}/usr/lib $OPTS"
&&
OPTS="--mandir=${INSTALL_ROOT}/usr/share/man $OPTS" &&
OPTS="--infodir=${INSTALL_ROOT}/usr/share/info $OPTS" &&
OPTS="--with-bugurl=http://bugs.sourcemage.org $OPTS" &&
-OPTS="--enable-languages=$(echo ${GCC_COMPILER} | tr " " ","),lto $OPTS" &&
+OPTS="--enable-languages=${GCC_COMPILER// /,},c,c++,lto $OPTS" &&
OPTS="--enable-shared $OPTS" &&
OPTS="--enable-threads=posix $OPTS" &&
OPTS="--enable-__cxa_atexit $OPTS" &&
diff --git a/gnu/gcc/PREPARE b/gnu/gcc/PREPARE
index 7a0bc5a..7efb177 100755
--- a/gnu/gcc/PREPARE
+++ b/gnu/gcc/PREPARE
@@ -1,26 +1,21 @@
-message "The following special targets are available for compiler selection:"
-message "default - will build c and c++"
-message "all - will build all compilers"
+message "Note: C and C++ compilers are always built"
. $GRIMOIRE/config_query_multi.function
-config_query_multi GCC_COMPILER "Select the compilers you want to build" \
- default \
+config_query_multi GCC_COMPILER "Select the additional compilers you want" \
+ none \
ada \
- c \
- c++ \
fortran \
go \
java \
objc \
obj-c++ \
all &&
-list_remove GCC_COMPILER default &&
-list_add GCC_COMPILER c &&
-list_add GCC_COMPILER c++ &&
+list_remove GCC_COMPILER none &&
if list_find "$GCC_COMPILER" "all" ; then
list_remove GCC_COMPILER all &&
list_add GCC_COMPILER ada &&
list_add GCC_COMPILER fortran &&
list_add GCC_COMPILER go &&
+ list_add GCC_COMPILER java &&
list_add GCC_COMPILER objc &&
list_add GCC_COMPILER obj-c++
fi



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (1ce2ae78355a31ea965220d3a8f52cd70373a5ce), Ismael Luceno, 06/28/2016

Archive powered by MHonArc 2.6.24.

Top of Page