mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-10 13:40:20 +01:00
gnu: hurd: Fix build.
* gnu/packages/hurd.scm (hurd)[configure-flags]: Turn it into a GEXP. Pass the -fcommon flag to fix the build with GCC 10.
This commit is contained in:
parent
130232fd8b
commit
5f1e33f76c
1 changed files with 12 additions and 10 deletions
|
@ -508,16 +508,18 @@ exec ${system}/rc \"$@\"
|
||||||
(copy-file "unifont"
|
(copy-file "unifont"
|
||||||
(string-append datadir "/vga-system.bdf"))
|
(string-append datadir "/vga-system.bdf"))
|
||||||
#t))))
|
#t))))
|
||||||
#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
#:configure-flags
|
||||||
%output "/lib")
|
,#~(list (string-append "LDFLAGS=-Wl,-rpath="
|
||||||
"--disable-ncursesw"
|
#$output "/lib")
|
||||||
"--without-libbz2"
|
"--disable-ncursesw"
|
||||||
"--without-libz"
|
"--without-libbz2"
|
||||||
"--without-parted"
|
"--without-libz"
|
||||||
;; This is needed to pass the configure check for
|
"--without-parted"
|
||||||
;; clnt_create
|
;; This is needed to pass the configure check for
|
||||||
"ac_func_search_save_LIBS=-ltirpc"
|
;; clnt_create
|
||||||
"ac_cv_search_clnt_create=false")))
|
"ac_func_search_save_LIBS=-ltirpc"
|
||||||
|
"ac_cv_search_clnt_create=false"
|
||||||
|
"CFLAGS=-fcommon")))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("glibc-hurd-headers" ,glibc/hurd-headers)
|
`(("glibc-hurd-headers" ,glibc/hurd-headers)
|
||||||
|
|
Loading…
Add table
Reference in a new issue