projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add isl
[hvlinux.git]
/
stage0
/
pkg
/
gcc
diff --git
a/stage0/pkg/gcc
b/stage0/pkg/gcc
index
d0d37e4
..
c2717d0
100644
(file)
--- a/
stage0/pkg/gcc
+++ b/
stage0/pkg/gcc
@@
-6,8
+6,7
@@
hvconfig_pre()
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
# Common options for passes 1 & 2
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
# Common options for passes 1 & 2
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--build=${CLFS_HOST} \
--host=${CLFS_HOST} \
--target=${CLFS_TARGET} \
--build=${CLFS_HOST} \
--host=${CLFS_HOST} \
--target=${CLFS_TARGET} \
@@
-16,13
+15,12
@@
hvconfig_pre()
--disable-nls \
--with-mpfr=/cross-tools \
--with-gmp=/cross-tools \
--disable-nls \
--with-mpfr=/cross-tools \
--with-gmp=/cross-tools \
- --with-
pp
l=/cross-tools \
+ --with-
is
l=/cross-tools \
--with-cloog=/cross-tools \
--with-cloog=/cross-tools \
- --enable-cloog-backend=isl \
--disable-multilib"
if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
--disable-multilib"
if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
- CONFIGURE_OPTS
="${CONFIGURE_OPTS}
\
+ CONFIGURE_OPTS
+="
\
--disable-shared \
--without-headers \
--with-newlib \
--disable-shared \
--without-headers \
--with-newlib \
@@
-32,8
+30,13
@@
hvconfig_pre()
--disable-libssp \
--disable-threads \
--enable-languages=c"
--disable-libssp \
--disable-threads \
--enable-languages=c"
+
+ # We will create a dummy limits.h so the build will not use the one
+ # provided by the host distro:
+ mkdir -p /tools/include
+ touch /tools/include/limits.h
else
else
- CONFIGURE_OPTS
="${CONFIGURE_OPTS}
\
+ CONFIGURE_OPTS
+="
\
--enable-shared \
--enable-languages=c,c++ \
--enable-__cxa_atexit \
--enable-shared \
--enable-languages=c,c++ \
--enable-__cxa_atexit \
@@
-53,12
+56,6
@@
hvconfig_pre()
# only:
sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
-i gcc/Makefile.in
# only:
sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
-i gcc/Makefile.in
-
- if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
- # We will create a dummy limits.h so the build will not use the one
- # provided by the host distro:
- touch /tools/include/limits.h
- fi
}
hvconfig_post()
}
hvconfig_post()