confLDOPTS

confLDOPTS

Linker options Build macro

The confLDOPTS macro defines a list of operating system-specific linker options. Those options are listed with the LDOPTS= directive in Makefile . As distributed, the devtools/OS file, for your machine's architecture, predefines a list for you. For example, on SunOS machines the following is predefined:

 define(`confLDOPTS', `-Bstatic') 

This tells the linker to exclude dynamic library support for better security. If you wish to add linker options, use the APPENDDEF( ) directive to add them to the list (because other options probably already exist):

 APPENDDEF(`confLDOPTS', `-s') 

The linker option -s causes the executable file to be stripped of symbols, thus producing a somewhat smaller on-disk image. The example here shows one way to avoid having to remember to run install-strip with Build each time you install (confSTRIP).



Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net