summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-26 15:58:03 +0200
committerMarius Bakke <marius@gnu.org>2022-06-26 22:22:34 +0200
commitb36c41ee54fef177d4a294921d66a1100f38b52b (patch)
tree16d2800eeb9a30b17f341f31fb0a2c8fb1f2ef02 /gnu
parenta21583de5452d11f1446c44fbb8bf8c1d28bfee2 (diff)
downloadguix-b36c41ee54fef177d4a294921d66a1100f38b52b.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gcc.scm16
1 files changed, 16 insertions, 0 deletions
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)