2.7.24 confLDOPTS
Linker options Build macro
The confLDOPTS macro defines a list of operating-system-specific linker options. Those
options are listed withth e 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 (?§2.7.68 on page 100).
2.7.25 confLDOPTS_SO
Linker options for creating a shared library Build macro
Use of this macro is not supported in the open source version of sendmail as of V8.12.
There is no guarantee that it will become available in a future release.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
2.7 Build m4 Macro Reference | 81
2.7.26 confLIB...
Location and modes for installed library files Build macro
Beginning withV8.
Pages:
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168