projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use host system tools
[hdw-linux/hdw-linux.git]
/
packages
/
toolchain
/
gcc
/
gcc
diff --git
a/packages/toolchain/gcc/gcc
b/packages/toolchain/gcc/gcc
index
3b4fea6
..
d1c8675
100644
(file)
--- a/
packages/toolchain/gcc/gcc
+++ b/
packages/toolchain/gcc/gcc
@@
-16,14
+16,12
@@
confopt="$confopt --libexecdir=$prefix/lib"
unset CFLAGS
if [ "$priority" = "1" ] ; then
unset CFLAGS
if [ "$priority" = "1" ] ; then
- confopt=${confopt//--host* /--host=$hdw_arch_build }
confopt="$confopt --enable-languages=c --disable-nls"
confopt="$confopt --enable-languages=c --disable-nls"
- # use host system gcc tools
- export CC="gcc"
- export CXX="c++"
-
- make_conf="BOOT_LDFLAGS=\"-static\" bootstrap"
+ # use host system tools
+ hdw_arch_prefix=""
+ . ./scripts/optimization
+ unset CFLAGS
post_install() {
ln -sf gcc $prefix/bin/cc
post_install() {
ln -sf gcc $prefix/bin/cc