Link libc.so with the custom linker script
[glibc/nacl-glibc.git] / myconfig.sh
blob6566f8d07add9f87718c4511c34f2b483bda59a5
1 #!/bin/bash
3 set -e
5 BUILDDIR=build
6 mkdir -p $BUILDDIR
7 cd $BUILDDIR
8 ../configure --prefix=/usr --host=i486-linux-gnu \
9 CC="`pwd`/../../tools_bin/linux/sdk/nacl-sdk/bin/nacl-gcc" \
10 CFLAGS="-march=i486 -pipe -fstrict-aliasing -O2 -g -mno-tls-direct-seg-refs" \
11 --with-headers=`pwd`/../kernel-headers --enable-kernel=2.2.0
12 # --disable-shared