aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-22 08:41:22 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-11-22 08:57:37 +0100
commitf2bc1877c409402decf0d333b4ce66b87dcffd08 (patch)
treef9e5cecb2f7fcac4027d2bf3aed8b1d18b089e38
parent06e993d0eec42d11f8742901ff132fc8ad025a37 (diff)
downloadguix-f2bc1877c409402decf0d333b4ce66b87dcffd08.tar
guix-f2bc1877c409402decf0d333b4ce66b87dcffd08.tar.gz
gnu: vtk-8: Pass -fcommon to compiler.
* gnu/packages/image-processing.scm (vtk-8)[arguments]: Add -fcommon to CFLAGS.
-rw-r--r--gnu/packages/image-processing.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 1d66ea4685..3ab40b1e24 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -409,7 +409,8 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
"-DVTK_USE_SYSTEM_SQLITE:BOOL=TRUE"
"-DVTK_USE_SYSTEM_THEORA:BOOL=TRUE"
"-DVTK_USE_SYSTEM_TIFF:BOOL=TRUE"
- "-DVTK_USE_SYSTEM_ZLIB:BOOL=TRUE")
+ "-DVTK_USE_SYSTEM_ZLIB:BOOL=TRUE"
+ "-DCMAKE_C_FLAGS=-fcommon")
#:tests? #f)) ;XXX: test data not included
(inputs
`(("double-conversion" ,double-conversion)