gpsd-3.8-ldflags.patch 476 B

12345678910111213141516
  1. https://bugs.gentoo.org/391299
  2. split up linking flags into multiple arguments
  3. --- gpsd-3.8/SConstruct
  4. +++ gpsd-3.8/SConstruct
  5. @@ -214,7 +214,7 @@
  6. env.Replace(**{j: os.getenv(i)})
  7. for flag in ["LDFLAGS", "LINKFLAGS", "SHLINKFLAGS", "CPPFLAGS"]:
  8. if os.environ.has_key(flag):
  9. - env.MergeFlags({flag : [os.getenv(flag)]})
  10. + env.MergeFlags({flag : Split(os.getenv(flag))})
  11. # Placeholder so we can kluge together something like VPATH builds.