im 64 Bit modus sorgen die BUILDOPTIONS immer wieder für "Internal Compiler Error" beim
gcc build (dynamisch)... Daher werden jetzt hier die Buildoptions deaktiviert git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4891 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
0d6acda262
commit
646de7c675
@ -83,12 +83,14 @@ mk() {
|
|||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDCONFIGURE="--libdir=/usr/lib64 --libexecdir=/usr/lib64"
|
ADDCONFIGURE="--libdir=/usr/lib64 --libexecdir=/usr/lib64"
|
||||||
RPATH="/lib64:/lib"
|
RPATH="/lib64:/lib"
|
||||||
|
CCOPTIONS=""
|
||||||
else
|
else
|
||||||
ADDCONFIGURE="--libexecdir=/usr/lib"
|
ADDCONFIGURE="--libexecdir=/usr/lib"
|
||||||
RPATH="/lib"
|
RPATH="/lib"
|
||||||
|
CCOPTIONS="$BUILDOPTIONS"
|
||||||
fi
|
fi
|
||||||
CC="gcc -Wl,-rpath-link,$RPATH -isystem /usr/include ${BUILDOPTIONS}" \
|
CC="gcc -Wl,-rpath-link,$RPATH -isystem /usr/include ${CCOPTIONS}" \
|
||||||
CXX="g++ -Wl,-rpath-link,$RPATH -isystem /usr/include ${BUILDOPTIONS}" \
|
CXX="g++ -Wl,-rpath-link,$RPATH -isystem /usr/include ${CCOPTIONS}" \
|
||||||
../gcc*/configure --prefix=/usr \
|
../gcc*/configure --prefix=/usr \
|
||||||
$ADDCONFIGURE \
|
$ADDCONFIGURE \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
@ -96,9 +96,12 @@ premk() {
|
|||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDCONFIGURE="--libdir=/tools/lib64"
|
ADDCONFIGURE="--libdir=/tools/lib64"
|
||||||
|
CCOPTIONS=""
|
||||||
|
else
|
||||||
|
CCOPTIONS="$BUILDOPTIONS"
|
||||||
fi
|
fi
|
||||||
CC="${CC} ${BUILDOPTIONS}" \
|
CC="${CC} ${CCOPTIONS}" \
|
||||||
CXX="${CXX} ${BUILDOPTIONS}" \
|
CXX="${CXX} ${CCOPTIONS}" \
|
||||||
../gcc*/configure --host=$TARGET \
|
../gcc*/configure --host=$TARGET \
|
||||||
--target=$TARGET \
|
--target=$TARGET \
|
||||||
--build=$HOSTSYS \
|
--build=$HOSTSYS \
|
||||||
|
Loading…
Reference in New Issue
Block a user