From b36c41ee54fef177d4a294921d66a1100f38b52b Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 26 Jun 2022 15:58:03 +0200 Subject: gnu: gcc-objc, gcc-objc++: Declare variants for GCC 11 and GCC 12. * gnu/packages/gcc.scm (gcc-objc-11, gcc-objc-12, gcc-objc++-11, gcc-objc++-12): New variables. --- gnu/packages/gcc.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gnu/packages/gcc.scm') diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index cd144772b8..4c496e31b2 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -1101,6 +1101,14 @@ provides the GNU compiler for the Go programming language.")) (custom-gcc gcc-10 "gcc-objc" '("objc") %objc-search-paths)) +(define-public gcc-objc-11 + (custom-gcc gcc-11 "gcc-objc" '("objc") + %objc-search-paths)) + +(define-public gcc-objc-12 + (custom-gcc gcc-12 "gcc-objc" '("objc") + %objc-search-paths)) + (define-public gcc-objc gcc-objc-10) (define %objc++-search-paths @@ -1143,6 +1151,14 @@ provides the GNU compiler for the Go programming language.")) (custom-gcc gcc-10 "gcc-objc++" '("obj-c++") %objc++-search-paths)) +(define-public gcc-objc++-11 + (custom-gcc gcc-11 "gcc-objc++" '("obj-c++") + %objc++-search-paths)) + +(define-public gcc-objc++-12 + (custom-gcc gcc-12 "gcc-objc++" '("obj-c++") + %objc++-search-paths)) + (define-public gcc-objc++ gcc-objc++-10) (define (make-libstdc++-doc gcc) -- cgit 1.4.1