Re: [gtk-list] Best place to add -D_REENTRANT to build




Rob Browning writes:
>Is there an easy way I can add the flag -D_REENTRANT to all the calls
>to gcc when building gtk+?  I looked through the Makefiles and
>./configure, and nothing jumped right out at me.

You should be able to do (using sh):

# CFLAGS="-D_REENTRANT" ./configure

The configure script is supposed to grab values for variables from the
environment. The above works for me.

Peter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]