FS#24182 - [postfix] Missing LDFLAGS, remove -g
Attached to Project:
Arch Linux
Opened by Kristoffer Tidemann (ktide) - Monday, 09 May 2011, 12:18 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 13 May 2011, 12:46 GMT
Opened by Kristoffer Tidemann (ktide) - Monday, 09 May 2011, 12:18 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 13 May 2011, 12:46 GMT
|
Details
PKGBUILD should look like this:
build() { cd "${srcdir}/${pkgname}-${pkgver}" make makefiles DEBUG="" CCARGS=' \ -DUSE_SASL_AUTH -I/usr/include/sasl \ -DUSE_CYRUS_SASL \ -DHAS_LDAP \ -DUSE_TLS \ -DHAS_MYSQL -I/usr/include/mysql \ -DHAS_PGSQL -I/usr/include/postgresql \ -DHAS_SQLITE \ ' AUXLIBS=' \ ${LDFLAGS} \ -lsasl2 -lssl -lcrypto \ -lldap -llber \ -lmysqlclient -lz -lm \ -lpq \ -lsqlite3 -lpthread \ ' make OPT="${CFLAGS}" } Also removes -g from CFLAGS by setting DEBUG="" The LDFLAGS can also be merged into the CFLAGS instead of using AUXLIBS |
This task depends upon
Closed by Gaetan Bisson (vesath)
Friday, 13 May 2011, 12:46 GMT
Reason for closing: Fixed
Additional comments about closing: postfix-2.8.3-2 in [testing]
Friday, 13 May 2011, 12:46 GMT
Reason for closing: Fixed
Additional comments about closing: postfix-2.8.3-2 in [testing]
Comment by Gaetan Bisson (vesath) -
Friday, 13 May 2011, 12:46 GMT
I've put a new version in [testing]; if no issue is reported with
it, I will move it to [extra] in a day or so.