me
/
guix
Archived
1
0
Fork 0

gnu: gnumach: Add -fcommon to GCC flags.

* gnu/packages/hurd.scm (gnumach)[arguments]: Add -fcommon GCC flag.
master
Ricardo Wurmus 2021-09-30 22:32:07 +02:00
parent 51a9b8fd8f
commit a76232340a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 2 deletions

View File

@ -301,6 +301,8 @@ Hurd-minimal package which are needed for both glibc and GCC.")
(name "gnumach")
(arguments
(substitute-keyword-arguments (package-arguments gnumach-headers)
((#:make-flags flags ''())
`(cons "CFLAGS=-fcommon" ,flags))
((#:configure-flags flags ''())
`(cons "--enable-kdb" ,flags)) ;enable kernel debugger
((#:phases phases '%standard-phases)
@ -310,8 +312,7 @@ Hurd-minimal package which are needed for both glibc and GCC.")
(let* ((out (assoc-ref outputs "out"))
(boot (string-append out "/boot")))
(invoke "make" "gnumach.gz")
(install-file "gnumach.gz" boot)
#t)))))))
(install-file "gnumach.gz" boot))))))))
(native-inputs
`(("mig" ,mig)
("perl" ,perl)