mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-cpp/gccxml: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Gentoo-Bug: 549300 * EAPI=6 Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="XML output extension to GCC"
|
||||
HOMEPAGE="http://www.gccxml.org/"
|
||||
@@ -15,6 +15,9 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
src_prepare() {
|
||||
# fix bug 549300 by restoring pre-GCC5 inline semantics
|
||||
append-cflags -std=gnu89
|
||||
|
||||
# patch below taken from Debian
|
||||
sed -i \
|
||||
-e 's/xatexit.c//' \
|
||||
|
||||
Reference in New Issue
Block a user