Für den Bau der DynLibs wird -fPIC beim Compiler Benötigt

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4718 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2009-05-20 06:29:20 +00:00
parent 9608a6a511
commit d890f227e6

View File

@ -79,8 +79,8 @@ premk() {
}
mk32() {
CC="gcc ${BUILDOPTIONS32} -I/usr/include" \
CXX="g++ ${BUILDOPTIONS32} -I/usr/include" \
CC="gcc ${BUILDOPTIONS32} -fPIC -I/usr/include" \
CXX="g++ ${BUILDOPTIONS32} -fPIC -I/usr/include" \
USE_ARCH=$UARCH \
./configure --host=$TARGET \
--prefix=/ \
@ -125,14 +125,13 @@ mk() {
else
ADDOPTIONS="--libdir=/usr/lib"
fi
CC="gcc ${BUILDOPTIONS} -I/usr/include" \
CXX="g++ ${BUILDOPTIONS} -I/usr/include" \
CC="gcc ${BUILDOPTIONS} -fPIC -I/usr/include" \
CXX="g++ ${BUILDOPTIONS} -fPIC -I/usr/include" \
USE_ARCH=$UARCH \
./configure --host=$TARGET \
--prefix=/ \
$ADDOPTIONS \
--mandir=/usr/share/man
#sed -i -e "s%LIBTOOL.*$%LIBTOOL = /usr/bin/libtool --tag help%" include/builddefs
make -j $NUMCPU USE_ARCH=$UARCH \
make -j $NUMCPU PKG_BIN_DIR=$TMPROOT/usr/bin \
PKG_LIB_DIR=$TMPROOT/usr/$LIBDIR \