me
/
guix
Archived
1
0
Fork 0

gnu: gcc-2.95: Add initial work toward building for arm.

* gnu/packages/gcc.scm (gcc-2.95)[source]: Adjust source to use newer
macros from more recent versions of GCC.
Efraim Flashner 2022-10-18 01:00:40 +03:00
parent 96f8945425
commit b41ff1a00d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 1 deletions

View File

@ -745,7 +745,10 @@ It also includes runtime support libraries for these languages.")
(delete-file-recursively "texinfo")
(substitute* "configure"
(("host_tools=(.*)texinfo" _ before)
(string-append "host_tools=" before)))))))
(string-append "host_tools=" before)))
;; Fix building on arm* with gcc-4+
(substitute* "gcc/config/arm/arm.c"
(("arm_prog_mode") "arm_prgmode"))))))
(supported-systems (fold delete %supported-systems
'("powerpc64le-linux" "riscv64-linux")))
(native-inputs (list texinfo dejagnu))