diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-10-10 11:48:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 11:48:06 +0200 |
commit | 6c7b2e1056bbd158544da9b6a79fd4099c18cd7a (patch) | |
tree | 0f78cff908b0798147cb1e76bc601443f896098d /var | |
parent | 749e99bf11d52bd865b11c28d2a48e1ef84b8222 (diff) | |
download | spack-6c7b2e1056bbd158544da9b6a79fd4099c18cd7a.tar.gz spack-6c7b2e1056bbd158544da9b6a79fd4099c18cd7a.tar.bz2 spack-6c7b2e1056bbd158544da9b6a79fd4099c18cd7a.tar.xz spack-6c7b2e1056bbd158544da9b6a79fd4099c18cd7a.zip |
git: optimize build by not setting CFLAGS (#40387)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/git/package.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py index b0984f52c1..b63335eabc 100644 --- a/var/spack/repos/builtin/packages/git/package.py +++ b/var/spack/repos/builtin/packages/git/package.py @@ -253,8 +253,6 @@ class Git(AutotoolsPackage): extlib_bits.append(spec["gettext"].libs.search_flags) extlib_bits.append("-lintl") env.append_flags("EXTLIBS", " ".join(extlib_bits)) - if not is_system_path(spec["gettext"].prefix): - env.append_flags("CFLAGS", spec["gettext"].headers.include_flags) if not self.spec["curl"].satisfies("libs=shared"): curlconfig = which(os.path.join(self.spec["curl"].prefix.bin, "curl-config")) |