From 552a18c24a9228ea6ee3a12d64366a15e3a0adbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 16 Sep 2024 22:42:39 +0200 Subject: [PATCH] gnu: libgccjit: Remove duplicate libgccjit@11 package. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a regression introduced in bfeccd3db9446d45d04d9144698506a61321e1c6 and caught by ‘tests/packages.scm’, whereby two equivalent but not ‘eq?’ libgccjit@11 packages would be exported. * gnu/packages/gcc.scm (libgccjit): Make an alias for ‘libgccjit-11’. Change-Id: I9aeacb7588af5f78af0941e80715665572567958 --- gnu/packages/gcc.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 2f90024295..544c789246 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -1225,8 +1225,9 @@ (define-public libgccjit-11 (make-libgccjit gcc-11)) (define-public libgccjit-12 (make-libgccjit gcc-12)) (define-public libgccjit-14 (make-libgccjit gcc-14)) -;; Use the 'gcc' variable from above to track the same version. -(define-public libgccjit (make-libgccjit gcc)) +;; This must match the 'gcc' variable, but it must also be 'eq?' to one of the +;; libgccjit-* packages above. +(define-public libgccjit libgccjit-11) (define (make-gccgo gcc) "Return a gccgo package based on GCC."