From 3182d306fda5be8c6b1c5eaa82fe641be6fe0c48 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 14 Apr 2012 19:22:14 +0200 Subject: [PATCH] more comments, even more robust arch? --- gcc-local/Makefile | 3 +++ gcc-local/configure | 2 +- qt-local/Makefile | 3 +++ 3 files changed, 7 insertions(+), 1 deletions(-) diff --git a/gcc-local/Makefile b/gcc-local/Makefile index 3e57f8c..ab2d748 100644 --- a/gcc-local/Makefile +++ b/gcc-local/Makefile @@ -1,3 +1,6 @@ +###########################3 +# Build makefile for GCC + all: build CPUS=$(shell expr `cat /proc/cpuinfo |grep ^processor |tail -1|cut -f 2 -d :` + 1) diff --git a/gcc-local/configure b/gcc-local/configure index 9f4e80f..ec89607 100755 --- a/gcc-local/configure +++ b/gcc-local/configure @@ -4,5 +4,5 @@ echo "Preparing GCC" cd `dirname $0` mkdir -p gccbuild || true cd gccbuild -arch="`dpkg-architecture -qDEB_BUILD_GNU_TYPE`" +arch="`dpkg-architecture -qDEB_BUILD_MULTIARCH 2>/dev/null || dpkg-architecture -qDEB_BUILD_GNU_TYPE`" ../source/configure --prefix=/usr/local/gcc --disable-multilib --enable-threads --enable-tls --enable-languages=c,c++ --enable-targets=$arch --disable-nls diff --git a/qt-local/Makefile b/qt-local/Makefile index 7235ced..a440d5a 100644 --- a/qt-local/Makefile +++ b/qt-local/Makefile @@ -1,3 +1,6 @@ +########################## +# Local build-Makefile for Qt4 + all: build CPUS=$(shell expr `cat /proc/cpuinfo |grep ^processor |tail -1|cut -f 2 -d :` + 1) -- 1.7.2.5