Browse Source

Fixed binutils to build shared libs while not building a "static target"

early
Christian Wiese 17 years ago
parent
commit
eca2e5dd58
  1. 11
      base/binutils/binutils.conf

11
base/binutils/binutils.conf

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../binutils/binutils.conf
# Filename: package/.../binutils/binutils.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -10,7 +11,11 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_STATIC" != 1 ]; then
var_append confopt ' ' "--enable-shared"
fi
if atstage toolchain; then
bindir="/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc

Loading…
Cancel
Save