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 @@ is the GNU Compiler Collection.")
(make-gcc-toolchain gcc-6))
(define-public gcc-toolchain-7
gcc-toolchain)
(make-gcc-toolchain gcc-7))
(define-public gcc-toolchain-8
(make-gcc-toolchain gcc-8))
gcc-toolchain)
(define-public gcc-toolchain-9
(make-gcc-toolchain gcc-9))

View File

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

View File

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

View File

@ -1803,7 +1803,6 @@ either on a local, or remote machine via a number of methods.")
(build-system glib-or-gtk-build-system)
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils)
("gcc" ,gcc-8) ;required for -Wcast-function-type
("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)

View File

@ -1594,8 +1594,7 @@ modules for building a Wayland compositor.")
("spdlog" ,spdlog-1.7)
("wayland" ,wayland)))
(native-inputs
`(("gcc" ,gcc-8) ; for #include <filesystem>
("glib:bin" ,glib "bin")
`(("glib:bin" ,glib "bin")
("pkg-config" ,pkg-config)
("scdoc" ,scdoc)
("wayland-protocols" ,wayland-protocols)))