pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

The correct way to configure compiler flags.

Unless I'm misunderstanding, the pkgsrc guide is at odds with the
mk.conf manual page with regards to configuring compiler flags.  Section
5.4.2 in the pkgsrc guide says that compiler flags should be explicitly
appended to CFLAGS, whereas mk.conf(5) says to use COPTS and CPUFLAGS
and never to set CFLAGS in mk.conf.  Which is correct?

Also see:

Charles McGarvey

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index