use new calling convention of getDistribution(); 'debootstrap' does
[util-vserver.git] / util-vserver / build-all
index 6a8282d..b994413 100755 (executable)
@@ -47,6 +47,7 @@ function operate()
     
     mkdir -p $d && cd $d
 
+    test -z "$CLEAN" || rm -f config.cache
     test -e Makefile || $configure "$@"
     $make
     cd -
@@ -54,7 +55,9 @@ function operate()
 
 case "$1" in
     dist)
-       test -e Makefile || CPPFLAGS=$CPPFLAGS ./configure $confflags
+       test -e Makefile || \
+           CFLAGS='-O0 -g3' CXXFLAGS='-O0 -g3' CPPFLAGS=$CPPFLAGS \
+           ./configure $confflags
        $make
        exit
        ;;
@@ -86,4 +89,4 @@ operate Build/diet-opt     --enable-release                    CPPFLAGS=$CPPFLAG
 operate Build/nodiet-noopt --disable-dietlibc                  CPPFLAGS=$CPPFLAGS CFLAGS='-O0 -g3' CXXFLAGS='-O0 -g3' 
 operate Build/nodiet-opt   --enable-release --disable-dietlibc CPPFLAGS=$CPPFLAGS
 operate Build/gcc32-opt    --enable-release --disable-dietlibc CPPFLAGS=$CPPFLAGS CC='ccache gcc32'  CXX='ccache g++'
-operate Build/gcc33-opt    --enable-release --disable-dietlibc CPPFLAGS=$CPPFLAGS CC='ccache gcc33'  CXX='ccache g++33'
+#operate Build/gcc33-opt    --enable-release --disable-dietlibc CPPFLAGS=$CPPFLAGS CC='ccache gcc33'  CXX='ccache g++33'