diff options
author | gerald <gerald@FreeBSD.org> | 2019-01-12 03:26:42 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2019-01-12 03:26:42 +0800 |
commit | 1a95f1841aa74ac18c1ccd05d1ba0a5480e47ad6 (patch) | |
tree | 8c4740beb8699c34bddb5e5287a21d8469bbd6ef | |
parent | 4a29347fd6f1fe28b377c2b0c554c4cb0036f911 (diff) | |
download | freebsd-ports-gnome-1a95f1841aa74ac18c1ccd05d1ba0a5480e47ad6.tar.gz freebsd-ports-gnome-1a95f1841aa74ac18c1ccd05d1ba0a5480e47ad6.tar.zst freebsd-ports-gnome-1a95f1841aa74ac18c1ccd05d1ba0a5480e47ad6.zip |
Update to the 20180104 snapshot of GCC 8.2.1.
Forward port r469788 from lang/gcc6 = backport r475105 from lang/gcc8:
Filter the -mretpoline command-line option, which is understood by
recent versions of clang (and used in the context of the Spectre
security issues), but not GCC (which uses different options for the
same) from CFLAGS and CXXFLAGS.
This avoids the build of this port via bootstrap, which is the default
and leverages both the system compiler (clang in most cases) plus a just
built version GCC, to fail due to the latter not knowing -mretpoline.
PR: 228205
Submitted by: rozhuk.im@gmail.com
-rw-r--r-- | lang/gcc8-devel/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc8-devel/distinfo | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/gcc8-devel/Makefile b/lang/gcc8-devel/Makefile index 1b0d738b286f..5f0f37363fc0 100644 --- a/lang/gcc8-devel/Makefile +++ b/lang/gcc8-devel/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 8.2.1.s20181228 +PORTVERSION= 8.2.1.s20190104 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -42,6 +42,8 @@ DIST_VERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/} GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} SSP_UNSAFE= yes +CFLAGS:= ${CFLAGS:N-mretpoline} +CXXFLAGS:= ${CXXFLAGS:N-mretpoline} OPTIONS_DEFINE= BOOTSTRAP GRAPHITE OPTIONS_DEFAULT= BOOTSTRAP diff --git a/lang/gcc8-devel/distinfo b/lang/gcc8-devel/distinfo index 7410bbfed1a7..2e4868c3a95b 100644 --- a/lang/gcc8-devel/distinfo +++ b/lang/gcc8-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1546117010 -SHA256 (gcc-8-20181228.tar.xz) = 3f557811e22f3e8e1b82d5e675184ebdb958fbcfbfcb31ef59671e069f6b8be8 -SIZE (gcc-8-20181228.tar.xz) = 61773116 +TIMESTAMP = 1547147804 +SHA256 (gcc-8-20190104.tar.xz) = 5d621da8df9918838b6e87ef0631dc03cce770e4f2be4d92020746882af4c815 +SIZE (gcc-8-20190104.tar.xz) = 61776960 |