gnu: gcc: Update gcc to 8.

* gnu/packages/gcc.scm (gcc): Define as gcc-8.
* gnu/packages/commencement.scm (gcc-toolchain-7): Use
make-gcc-toolchain procedure.
(gcc-toolchain-8): Define as gcc-toolchain.
* gnu/packages/game-development (python2-renpy)[native-inputs],
* gnu/packages/gnome.scm (gnome-commander)[native-inputs],
* gnu/packages/wm.scm (waybar)[native-inputs]: Remove gcc-8.
This commit is contained in:
Efraim Flashner 2021-04-12 17:02:57 +03:00
parent a55f64917d
commit 76fc36d0a7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
5 changed files with 5 additions and 8 deletions

View file

@ -3816,10 +3816,10 @@ (define-public gcc-toolchain-6
(make-gcc-toolchain gcc-6)) (make-gcc-toolchain gcc-6))
(define-public gcc-toolchain-7 (define-public gcc-toolchain-7
gcc-toolchain) (make-gcc-toolchain gcc-7))
(define-public gcc-toolchain-8 (define-public gcc-toolchain-8
(make-gcc-toolchain gcc-8)) gcc-toolchain)
(define-public gcc-toolchain-9 (define-public gcc-toolchain-9
(make-gcc-toolchain gcc-9)) (make-gcc-toolchain gcc-9))

View file

@ -1226,8 +1226,7 @@ (define-public python2-renpy
`(("python2-future" ,python2-future) `(("python2-future" ,python2-future)
("python2-pygame" ,python2-pygame-sdl2))) ("python2-pygame" ,python2-pygame-sdl2)))
(native-inputs (native-inputs
`(("gcc" ,gcc-8) ; for const variables as initializer elements `(("python2-cython" ,python2-cython)
("python2-cython" ,python2-cython)
("xdg-utils" ,xdg-utils))) ("xdg-utils" ,xdg-utils)))
(home-page "https://www.renpy.org/") (home-page "https://www.renpy.org/")
(synopsis "Ren'py python module") (synopsis "Ren'py python module")

View file

@ -585,7 +585,7 @@ (define-public gcc-10
;; Note: When changing the default gcc version, update ;; Note: When changing the default gcc version, update
;; the gcc-toolchain-* definitions and the gfortran definition ;; the gcc-toolchain-* definitions and the gfortran definition
;; accordingly. ;; accordingly.
(define-public gcc gcc-7) (define-public gcc gcc-8)
(define-public (make-libstdc++ gcc) (define-public (make-libstdc++ gcc)
"Return a libstdc++ package based on GCC. The primary use case is when "Return a libstdc++ package based on GCC. The primary use case is when

View file

@ -1803,7 +1803,6 @@ (define-public gnome-commander
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(native-inputs (native-inputs
`(("desktop-file-utils" ,desktop-file-utils) `(("desktop-file-utils" ,desktop-file-utils)
("gcc" ,gcc-8) ;required for -Wcast-function-type
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin") ("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)

View file

@ -1594,8 +1594,7 @@ (define-public waybar
("spdlog" ,spdlog-1.7) ("spdlog" ,spdlog-1.7)
("wayland" ,wayland))) ("wayland" ,wayland)))
(native-inputs (native-inputs
`(("gcc" ,gcc-8) ; for #include <filesystem> `(("glib:bin" ,glib "bin")
("glib:bin" ,glib "bin")
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("scdoc" ,scdoc) ("scdoc" ,scdoc)
("wayland-protocols" ,wayland-protocols))) ("wayland-protocols" ,wayland-protocols)))