Date: Sun, 17 Aug 2008 08:28:29 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/asterisk Makefile ports/net/asterisk/files codecnego-patch-Makefile nocodecnego-patch-Makefile patch-Makefile.rules Message-ID: <200808170828.m7H8STiv071725@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2008-08-17 08:28:29 UTC FreeBSD ports repository Modified files: net/asterisk Makefile net/asterisk/files codecnego-patch-Makefile nocodecnego-patch-Makefile Added files: net/asterisk/files patch-Makefile.rules Log: Make asterisk respect CFLAGS. This should fix numerous "undefined reference to `__sync_xxx'" build errors reported by many people who have CPUTYPE set to i686 and similar values in /etc/make.conf. The problem itself is related to the fact that asterisk used FreeBSD CFLAGS when probing for gcc capabilities during configure phase, while its own CFLAGS during actual build. As a result, object code generated by gcc missed those functions. Revision Changes Path 1.103 +3 -1 ports/net/asterisk/Makefile 1.6 +13 -1 ports/net/asterisk/files/codecnego-patch-Makefile 1.6 +12 -0 ports/net/asterisk/files/nocodecnego-patch-Makefile 1.1 +21 -0 ports/net/asterisk/files/patch-Makefile.rules (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808170828.m7H8STiv071725>