Re: Use of $(THREAD_CFLAGS) in CPPFLAGS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Use of $(THREAD_CFLAGS) in CPPFLAGS
Date
Msg-id 483.1064632097@sss.pgh.pa.us
Whole thread Raw
In response to Re: Use of $(THREAD_CFLAGS) in CPPFLAGS  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Use of $(THREAD_CFLAGS) in CPPFLAGS  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Actually, the most common THREAD_CFLAGS is -pthread, used by Solaris,
> OSF, and FreeBSD 4.X.  Only Linux uses -D flags for threading.

So is -pthread a compile-time or link-time flag?

If we need both THREAD_CPPFLAGS and THREAD_CFLAGS then let's go ahead
and invent both.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with function permission test in a view
Next
From: Bruce Momjian
Date:
Subject: Re: Use of $(THREAD_CFLAGS) in CPPFLAGS