me
/
guix
Archived
1
0
Fork 0

gnu: tokyocabinet: Fix building on non-x86 systems.

* gnu/packages/databases.scm (tokyocabinet)[arguments]: Adjust
configure-flags to not enable x86 specific cflags when building for
other architectures.
master
Efraim Flashner 2023-05-15 21:33:56 +03:00
parent 6e38ec447f
commit d9c0280d5e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions

View File

@ -2659,7 +2659,11 @@ database and supports many programming languages. It is a NoSQL database.")
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list "--enable-pthread" "--enable-off64" "--enable-fastest"
(list "--enable-pthread" "--enable-off64"
,@(if (target-x86?)
;; Enables x86 specific cflags.
'("--enable-fastest")
'())
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))))
(inputs