Date: Sun, 7 Apr 2019 16:18:54 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498283 - head/net/asterisk13/files Message-ID: <201904071618.x37GIscD026354@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Sun Apr 7 16:18:54 2019 New Revision: 498283 URL: https://svnweb.freebsd.org/changeset/ports/498283 Log: Fix build on live system when gcc 8 is also installed. PR: 237058 Submitted by: VVD <vvd@unislabs.com> Added: head/net/asterisk13/files/patch-Makefile.rules (contents, props changed) Added: head/net/asterisk13/files/patch-Makefile.rules ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/asterisk13/files/patch-Makefile.rules Sun Apr 7 16:18:54 2019 (r498283) @@ -0,0 +1,11 @@ +--- Makefile.rules.orig 2019-04-04 14:46:29 UTC ++++ Makefile.rules +@@ -68,7 +68,7 @@ ifneq ($(findstring darwin,$(OSARCH)),) + endif + + # gcc version 8.2.1 and above must have partial-inlining disabled to avoid documented bug +-GCC_VER_GTE821:=$(shell expr `gcc --version | grep ^gcc | cut -d ' ' -f 3 | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 80201) ++GCC_VER_GTE821:=$(shell expr `$(CC) --version | grep ^gcc | cut -d ' ' -f 3 | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 80201) + ifeq ($(GCC_VER_GTE821),1) + OPTIMIZE+=-fno-partial-inlining + endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904071618.x37GIscD026354>