packagers note: do not run ld directly

Roland McGrath roland at redhat.com
Thu Aug 9 12:23:12 UTC 2007


> Are you sure CFLAGS should be used?

It needn't be when one has been careful to keep all linking-relevant
options in LDFLAGS rather than CFLAGS.  But it never hurts to include
CFLAGS, and it might be necessary to get all the correct flags depending on
the details of the settings the package uses.  Automake does use CFLAGS for
all links.




More information about the devel mailing list