compiling glibc with a compiler flag
Jakub Jelinek
jakub@redhat.com
Sat Apr 14 17:13:00 GMT 2007
On Sat, Apr 14, 2007 at 11:54:40AM +0300, Metuki Sabhe wrote:
> How can I compile glibc with some additional compiler flags ?
Just tell it to configure, say:
CC=gcc CXX=g++ CFLAGS="-g -O2 -mtune=generic -DNDEBUG=1" \
../configure --prefix=/usr --enable-add-ons=nptl,libidn \
--without-cvs --enable-kernel=2.6.9 --with-headers=/usr/include \
--enable-bind-now --with-tls --with-__thread --build x86_64-redhat-linux \
--host x86_64-redhat-linux
Jakub
More information about the Libc-alpha
mailing list