Harmonise les bootscripts (daemon)
[hvlinux.git] / stage1 / pkg / gcc
index 85d8a73..2a2c2ea 100644 (file)
@@ -1,20 +1,5 @@
 #!/bin/bash
 
-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++ \
-    ${CONFIGURE_OPTS}"
-
 hvpatch()
 {
     # Manually applying patches if specified
@@ -36,6 +21,21 @@ hvpatch()
 
 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: