Installing Glibc with some additional CFLAGS

I am trying to install secondary glibc on my machine. As the INSTALL file says, the following steps should be sufficient:

mkdir glibc-build
cd glibc-build
../glibc-2.19/configure --prefix=/path/to/glibc-build
make
make install

      

Actually I have no problem with a simple installation, however I don't know how I should add my desired CFLAGS for the whole process. I tried "make CFLAGS = -da" instead of simple "make" however it gives me errors. I've tried other options too. Errors appear again. Another way is to change "config.make" inside glibc-build. It didn't work either. Therefore, I would be grateful if you could share your experience in this regard.

PS: My desired options are -da -dv -S

+3


source to share


1 answer


If you want to compile glibc with the CFLAGS you want, you need to include -Ox in the set of flags that you pass as the CFLAGS environment variable.



+2


source







All Articles