summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/bam-readcount/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bam-readcount/package.py b/var/spack/repos/builtin/packages/bam-readcount/package.py
index 8a0ff30849..b895bfcbb1 100644
--- a/var/spack/repos/builtin/packages/bam-readcount/package.py
+++ b/var/spack/repos/builtin/packages/bam-readcount/package.py
@@ -12,4 +12,8 @@ class BamReadcount(CMakePackage):
homepage = "https://github.com/genome/bam-readcount"
url = "https://github.com/genome/bam-readcount/archive/v0.8.0.tar.gz"
+ version("1.0.1", sha256="8ebf84d9efee0f2d3b43f0452dbf16b27337c960e25128f6a7173119e62588b8")
version("0.8.0", sha256="4f4dd558e3c6bfb24d6a57ec441568f7524be6639b24f13ea6f2bb350c7ea65f")
+
+ def setup_build_environment(self, env):
+ env.append_flags("CFLAGS", self.compiler.cc_pic_flag)