Browse Source

gcc: added possibility to enable/disable the go language backend support

user/amery/next/luajit
Christian Wiese 13 years ago
parent
commit
6e5e45bd7a
  1. 3
      base/gcc/config-550.in
  2. 6
      base/gcc/gcc.conf

3
base/gcc/config-550.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gcc/config-550.in
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -86,6 +86,7 @@ if pkgcheck "gcc" X; then
bool 'Build the JAVA compiler' SDECFG_PKG_GCC_JAVA 1
fi
bool 'Build the F77 compiler' SDECFG_PKG_GCC_F77 1
bool 'Build the GO compiler' SDECFG_PKG_GCC_GO 1
bool 'Build the OBJC compiler' SDECFG_PKG_GCC_OBJC 1
comment ' '
bool 'Build version specific runtime libraries' \

6
base/gcc/gcc.conf

@ -177,6 +177,12 @@ else
var_append confopt " " "--disable-libgfortran"
fi
if [ "$SDECFG_PKG_GCC_GO" != 1 ] ; then
var_append confopt " " "--disable-libgo"
else
var_append languages ',' 'go'
fi
# Set enable-shared
if [ "$diet_dynamic_static" == "static" ] ; then
var_append confopt " " "--disable-shared"

Loading…
Cancel
Save