|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../binutils/binutils.conf |
|
|
|
|
# Copyright (C) 2007 - 2008 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2011 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -13,6 +13,8 @@
|
|
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
hook_add preconf 5 "mkdir -p objdir; cd objdir; configscript=../configure" |
|
|
|
|
|
|
|
|
|
if atstage toolchain; then |
|
|
|
|
bindir="/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc |
|
|
|
|
var_append confopt " " "--with-sysroot=$sysroot" |
|
|
|
@ -20,8 +22,6 @@ if atstage toolchain; then
|
|
|
|
|
|
|
|
|
|
var_append SYSCC_WRAPPER_REMOVE ' ' '-Werror' |
|
|
|
|
else |
|
|
|
|
hook_add preconf 5 "mkdir -p objdir; cd objdir; configscript=../configure" |
|
|
|
|
|
|
|
|
|
if [ "$SDECFG_STATIC" != 1 ]; then |
|
|
|
|
var_append confopt ' ' "--enable-shared" |
|
|
|
|
fi |
|
|
|
|