summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-25 13:33:56 +0000
committerSam James <sam@gentoo.org>2024-11-25 13:33:56 +0000
commitadac639d1ce86215164e2d28a415e5b4092df3d4 (patch)
treee4c0663fa41796e2d0aca67a7a10224b0dfa610b /dev-perl/YAML-Syck
parentmedia-video/mplayer: add 1.5_p20241125 (diff)
downloadgentoo-adac639d1ce86215164e2d28a415e5b4092df3d4.tar.gz
gentoo-adac639d1ce86215164e2d28a415e5b4092df3d4.tar.bz2
gentoo-adac639d1ce86215164e2d28a415e5b4092df3d4.zip
dev-perl/YAML-Syck: build w/ -std=gnu17
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/YAML-Syck')
-rw-r--r--dev-perl/YAML-Syck/YAML-Syck-1.340.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/YAML-Syck/YAML-Syck-1.340.0.ebuild b/dev-perl/YAML-Syck/YAML-Syck-1.340.0.ebuild
index ee649967a9a9..16f214a87461 100644
--- a/dev-perl/YAML-Syck/YAML-Syck-1.340.0.ebuild
+++ b/dev-perl/YAML-Syck/YAML-Syck-1.340.0.ebuild
@@ -5,10 +5,16 @@ EAPI=8
DIST_AUTHOR=TODDR
DIST_VERSION=1.34
-inherit perl-module
+inherit perl-module toolchain-funcs
DESCRIPTION="Fast, lightweight YAML loader and dumper"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+src_configure() {
+ export CC="$(tc-getCC) -std=gnu17"
+
+ perl-module_src_configure
+}