[vorbis-dev] CFLAGS / LDFLAGS

Jeff Squyres jsquyres at lsc.nd.edu
Thu Dec 21 12:31:27 PST 2000



On Thu, 21 Dec 2000, Segher Boessenkool wrote:

> > Yeah, I noticed this, too.  One way to fix this would be to provide a
> > $(UCFLAGS) or something, which is specifically set aside for user-added flags.
>
> EXTRA_CFLAGS is the normal name, maybe different punctuation.

Actually, from the GNU-standard INSTALL file, they recomend setting the
CFLAGS environment variable (and any others) before running configure:

-----
   Some systems require unusual options for compilation or linking that
the `configure' script does not know about.  You can give `configure'
initial values for variables by setting them in the environment.  Using a
Bourne-compatible shell, you can do that on the command line like this:

     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure

...etc...
-----

Of course, this is only a suggestion, but it is a Common Way of Doing
Things.

{+} Jeff Squyres
{+} squyres at cse.nd.edu
{+} Perpetual Obsessive Notre Dame Student Craving Utter Madness
{+} "I came to ND for 4 years and ended up staying for a decade"

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list