Harmonise les bootscripts (daemon)
[hvlinux.git] / stage1 / pkg / gcc
index c6df1c7..2a2c2ea 100644 (file)
@@ -19,8 +19,23 @@ hvpatch()
     esac
 }
 
-configure_pre()
+hvconfig_pre()
 {
+    CONFIGURE_OPTS="\
+        ${CONFIGURE_OPTS} \
+        --target=${CLFS_TARGET} \
+        --disable-multilib \
+        --with-local-prefix=/tools \
+        --libexecdir=/tools/lib \
+        --disable-nls \
+        --disable-libstdcxx-pch \
+        --enable-long-long \
+        --enable-c99 \
+        --enable-shared \
+        --enable-threads=posix \
+        --enable-__cxa_atexit \
+        --enable-languages=c,c++"
+
     cd ${LFS_TMP}/${PACKAGE}
 
     # Change the StartFile Spec to point to the correct library location:
@@ -35,7 +50,7 @@ configure_pre()
         gcc/Makefile.in.orig > gcc/Makefile.in
 }
 
-configure_post()
+hvconfig_post()
 {
     # Prevent GCC from looking in the wrong directories for headers and
     # libraries: