Skip to content

Commit

Permalink
git: optimize build by not setting CFLAGS (spack#40387)
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie authored Oct 10, 2023
1 parent 749e99b commit 6c7b2e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions var/spack/repos/builtin/packages/git/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,6 @@ def setup_build_environment(self, env):
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"))
Expand Down

0 comments on commit 6c7b2e1

Please sign in to comment.