summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-10-19 10:38:00 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-10-30 16:13:01 +0900
commitafe80d2a6356f016d5e2a9f5efbb83d783593f9f (patch)
tree074c9079c2e14621c472dd9f2ead48bcd7a30cec /gnu
parent0c1de511f8fd81b5325160ea624e2953dd32ad84 (diff)
gnu: binutils: Fix indentation.
* gnu/packages/base.scm (binutils): Fix indentation. Change-Id: Icd8d298e00ae6c826aaef5f4e59688b6d8374b9e
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/base.scm103
1 files changed, 52 insertions, 51 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index a9e97e03714..93019516a6d 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -693,62 +693,63 @@ change. GNU make offers many powerful extensions over the standard utility.")
693 693
694(define-public binutils 694(define-public binutils
695 (package 695 (package
696 (name "binutils") 696 (name "binutils")
697 (version "2.44") 697 (version "2.44")
698 (source 698 (source
699 (origin 699 (origin
700 (method url-fetch) 700 (method url-fetch)
701 (uri (string-append "mirror://gnu/binutils/binutils-" 701 (uri (string-append "mirror://gnu/binutils/binutils-"
702 version ".tar.bz2")) 702 version ".tar.bz2"))
703 (sha256 703 (sha256
704 (base32 "0fnwaasfglbphqzvz5n25js9gl695p7pjbmb1z81g8gsc6k90qzn")) 704 (base32 "0fnwaasfglbphqzvz5n25js9gl695p7pjbmb1z81g8gsc6k90qzn"))
705 (patches (search-patches 705 (patches (search-patches
706 "binutils-2.41-fix-cross.patch" 706 "binutils-2.41-fix-cross.patch"
707 "binutils-loongson-workaround.patch")))) 707 "binutils-loongson-workaround.patch"))))
708 (build-system gnu-build-system) 708 (build-system gnu-build-system)
709 (arguments 709 (arguments
710 (list #:out-of-source? #t ;recommended in the README 710 (list #:out-of-source? #t ;recommended in the README
711 #:configure-flags #~'(;; Add `-static-libgcc' to not retain a dependency 711 #:configure-flags
712 ;; on GCC when bootstrapping. 712 #~'( ;; Add `-static-libgcc' to not retain a dependency
713 "LDFLAGS=-static-libgcc" 713 ;; on GCC when bootstrapping.
714 714 "LDFLAGS=-static-libgcc"
715 ;; Turn on --enable-new-dtags by default to make the 715
716 ;; linker set RUNPATH instead of RPATH on binaries. 716 ;; Turn on --enable-new-dtags by default to make the
717 ;; This is important because RUNPATH can be overriden 717 ;; linker set RUNPATH instead of RPATH on binaries.
718 ;; using LD_LIBRARY_PATH at runtime. 718 ;; This is important because RUNPATH can be overriden
719 "--enable-new-dtags" 719 ;; using LD_LIBRARY_PATH at runtime.
720 720 "--enable-new-dtags"
721 ;; Don't search under /usr/lib & co. 721
722 "--with-lib-path=/no-ld-lib-path" 722 ;; Don't search under /usr/lib & co.
723 723 "--with-lib-path=/no-ld-lib-path"
724 ;; Install BFD. It ends up in a hidden directory, 724
725 ;; but it's here. 725 ;; Install BFD. It ends up in a hidden directory,
726 "--enable-install-libbfd" 726 ;; but it's here.
727 727 "--enable-install-libbfd"
728 ;; Make sure 'ar' and 'ranlib' produce archives in a 728
729 ;; deterministic fashion. 729 ;; Make sure 'ar' and 'ranlib' produce archives in a
730 "--enable-deterministic-archives" 730 ;; deterministic fashion.
731 731 "--enable-deterministic-archives"
732 "--enable-64-bit-bfd" 732
733 "--enable-compressed-debug-sections=all" 733 "--enable-64-bit-bfd"
734 "--enable-lto" 734 "--enable-compressed-debug-sections=all"
735 "--enable-separate-code" 735 "--enable-lto"
736 "--enable-threads") 736 "--enable-separate-code"
737 737 "--enable-threads")
738 ;; For some reason, the build machinery insists on rebuilding .info 738
739 ;; files, even though they're already provided by the tarball. 739 ;; For some reason, the build machinery insists on rebuilding .info
740 #:make-flags #~'("MAKEINFO=true"))) 740 ;; files, even though they're already provided by the tarball.
741 (native-inputs (list bison)) ;needed to build 'gprofng' 741 #:make-flags #~'("MAKEINFO=true")))
742 (synopsis "Binary utilities: bfd gas gprof ld") 742 (native-inputs (list bison)) ;needed to build 'gprofng'
743 (description 743 (synopsis "Binary utilities: bfd gas gprof ld")
744 "GNU Binutils is a collection of tools for working with binary files. 744 (description
745 "GNU Binutils is a collection of tools for working with binary files.
745Perhaps the most notable are \"ld\", a linker, and \"as\", an assembler. 746Perhaps the most notable are \"ld\", a linker, and \"as\", an assembler.
746Other tools include programs to display binary profiling information, list 747Other tools include programs to display binary profiling information, list
747the strings in a binary file, and utilities for working with archives. The 748the strings in a binary file, and utilities for working with archives. The
748\"bfd\" library for working with executable and object formats is also 749\"bfd\" library for working with executable and object formats is also
749included.") 750included.")
750 (license gpl3+) 751 (license gpl3+)
751 (home-page "https://www.gnu.org/software/binutils/"))) 752 (home-page "https://www.gnu.org/software/binutils/")))
752 753
753;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a 754;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a
754;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream). 755;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream).