> -----Original Message----- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Wietse Venema > Sent: Sunday, January 09, 2011 8:03 PM > Subject: Re: "Standard" options when compiling Postfix from source?
> Postfix from postfix.org stores the compile-time options in > /etc/postfix/makedefs.out. If your vendor distributes that file, look for the > EXPORT line. Here is an example: > > EXPORT = AUXLIBS=' -L/usr/local/lib -lpcre' CCARGS=' -DHAS_PCRE - > I/usr/local/include -DSNAPSHOT' OPT='-O' DEBUG='-g' > > The AUXLIBS and CCARGS are what you would specify on the "make > makefiles" command line. Thanks, Wietse. The "vanilla" install of Postfix 2.3.3 on CentOS 5 via yum does indeed include an /etc/postfix/makedefs.out file. For the benefit of anyone else looking for this info in the archives, the AUXLIBS and CCARGS for that CentOS version are: AUXLIBS=' -L/usr/lib -lldap -llber -lpcre -L/usr/lib/sasl2 -lsasl2 -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -pie -Wl,-z,relro' CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DHAS_PCRE -I/usr/include/pcre -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -I/usr/kerberos/include ' The 2.3.3 makedefs.out file contains the AUXLIBS "-pie -Wl,-z,relro" and a CCARGS of "-fPIC". Google finds lots of references to these options in example spec files, but nothing seems to explain what they are. What are they, and have they been deprecated in 2.7.2? Thanks, Steve