projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conversions fichiers ISO-8859-1 à UTF-8
[hvlinux.git]
/
stage2
/
pkg
/
binutils
diff --git
a/stage2/pkg/binutils
b/stage2/pkg/binutils
index
dabcf14
..
c9522c1
100644
(file)
--- a/
stage2/pkg/binutils
+++ b/
stage2/pkg/binutils
@@
-1,16
+1,16
@@
#!/bin/bash
#!/bin/bash
-CC="gcc -isystem /usr/include"
-LDFLAGS="-Wl,-rpath-link,/lib"
-
-CONFIGURE_OPTS="\
- --libdir=/usr/lib \
- --enable-shared \
- --disable-multilib \
- ${CONFIGURE_OPTS}"
-
hvconfig_pre()
{
hvconfig_pre()
{
+ export CC="gcc -isystem /usr/include"
+ export LDFLAGS="-Wl,-rpath-link,/lib"
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --libdir=/usr/lib \
+ --enable-shared \
+ --disable-multilib"
+
case "${HVL_TARGET}" in
"x86_64")
# Libiberty uses gcc -print-multi-os-directory to determine where to
case "${HVL_TARGET}" in
"x86_64")
# Libiberty uses gcc -print-multi-os-directory to determine where to
@@
-26,6
+26,12
@@
hvconfig_pre()
esac
}
esac
}
+hvconfig_post()
+{
+ unset CC
+ unset LDFLAGS
+}
+
hvbuild()
{
make configure-host
hvbuild()
{
make configure-host