32 |
install -d ${SRCDIR}/build |
install -d ${SRCDIR}/build |
33 |
cd ${SRCDIR}/build |
cd ${SRCDIR}/build |
34 |
CPPFLAGS="-fexceptions" \ |
CPPFLAGS="-fexceptions" \ |
35 |
CC="gcc -m64 -isystem /usr/include" \ |
CC="gcc -isystem /usr/include" \ |
36 |
CXX="g++ -m64 -isystem /usr/include" \ |
CXX="g++ -isystem /usr/include" \ |
37 |
LDFLAGS="-Wl,-rpath-link,/lib64 -m64" \ |
LDFLAGS="-Wl,-rpath-link,/$(mlibdir)" \ |
38 |
../configure \ |
../configure \ |
39 |
--build=${CHOST} \ |
--build=${CHOST} \ |
40 |
--host=${CHOST} \ |
--host=${CHOST} \ |
54 |
cd ${SRCDIR}/build-m32 |
cd ${SRCDIR}/build-m32 |
55 |
CPPFLAGS="-fexceptions" \ |
CPPFLAGS="-fexceptions" \ |
56 |
ABI=32 \ |
ABI=32 \ |
57 |
CC="gcc -m32 -isystem /usr/include" \ |
CC="gcc -m${ABI} -isystem /usr/include" \ |
58 |
CXX="g++ -m32 -isystem /usr/include" \ |
CXX="g++ -m${ABI} -isystem /usr/include" \ |
59 |
LDFLAGS="-Wl,-rpath-link,/lib -m32" \ |
LDFLAGS="-Wl,-rpath-link,/lib -m${ABI}" \ |
60 |
../configure \ |
../configure \ |
61 |
--build=${CHOST} \ |
--build=${CHOST} \ |
62 |
--host=${CHOST} \ |
--host=${CHOST} \ |