]> git.ipfire.org Git - thirdparty/zstd.git/commit
Add CXXFLAGS to ALL_LDFLAGS (#1178)
authorRyan Schmidt <ryandesign@macports.org>
Thu, 14 Jun 2018 20:05:33 +0000 (15:05 -0500)
committerNick Terrell <nickrterrell@gmail.com>
Thu, 14 Jun 2018 20:05:33 +0000 (13:05 -0700)
commitbf30b9caf4d8afa907fd1b3424475fccbd48a915
tree6a241d8a5cf2a7ac8e75de3e15b0a19e239626d0
parent854825caac657e5c74276d72a64497f87bf5c126
Add CXXFLAGS to ALL_LDFLAGS (#1178)

pzstd requires C++11, which older C++ standard libraries like libstdc++
as used on OS X 10.8 and earlier don't support. The user might address
this by setting "CXXFLAGS=-stdlib=libc++". This flag must be used both
at compile time and at link time. Asking the user to also put the flag
in LDFLAGS is undesirable because then the flag would also be used when
linking C code, which would be inappropriate.
contrib/pzstd/Makefile