You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to specify -stdlib by writing the following in poac.toml, but it will not work when CXX=g++.
[profile]
cxxflags = ["-stdlib=libc++"]
I felt it would be useful if there was a way to make it work for both CXX=clang++ and CXX=g++. I'm not sure what the best way is, but I wrote notes of what I came up with.
Add CXXFLAGS environment variable (similar to RUSTFLAGS)
Allow CXX to be fixed in poac.toml (profile.cxx?) to avoid confusion if only one cxx is assumed.
The text was updated successfully, but these errors were encountered:
)
Add support for environment variables `CXXFLAGS` and `LDFLAGS` while
generating Makefile.
See also #923.
---------
Co-authored-by: 27Onion Nebell <[email protected]>
It is possible to specify
-stdlib
by writing the following in poac.toml, but it will not work whenCXX=g++
.I felt it would be useful if there was a way to make it work for both
CXX=clang++
andCXX=g++
. I'm not sure what the best way is, but I wrote notes of what I came up with.CXXFLAGS
environment variable (similar toRUSTFLAGS
)The text was updated successfully, but these errors were encountered: