[567] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Peter Mattis)
Tue Jul 29 15:46:36 1997

To: gtk-list@redhat.com
In-reply-to: Your message of "29 Jul 1997 14:18:58 CDT."
             <87en8hhdjx.fsf@nevermore.csres.utexas.edu> 
Date: Tue, 29 Jul 1997 12:37:07 -0700
From: Peter Mattis <petm@scam.XCF.Berkeley.EDU>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


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

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post