Skip to content

src/posix.mak: Link against libstdc++ explicitly#4934

Merged
MartinNowak merged 2 commits intodlang:masterfrom
CyberShadow:pull-20150823-162032
Aug 23, 2015
Merged

src/posix.mak: Link against libstdc++ explicitly#4934
MartinNowak merged 2 commits intodlang:masterfrom
CyberShadow:pull-20150823-162032

Conversation

@CyberShadow
Copy link
Member

No description provided.

MartinNowak added a commit that referenced this pull request Aug 23, 2015
src/posix.mak: Link against libstdc++ explicitly
@MartinNowak MartinNowak merged commit 00a0064 into dlang:master Aug 23, 2015
@CyberShadow
Copy link
Member Author

Thanks though I'd have waited for Brad's autotester just in case.

@yebblies
Copy link
Contributor

This should not have been necessary... I don't know why it wasn't automatically added just by using g++ to link.

@CyberShadow
Copy link
Member Author

It could be something distro-specific, or it could be because of some of the hacks I had to do to work around other distro-specific issues (e.g. the libcurl/--as-needed one).

@CyberShadow
Copy link
Member Author

Oh yeah, I had CC point to gcc not g++.

Well, we might as well keep this in case anyone does this too. Is the CC variable commonly used for C/C++ compilers interchangeably, or is there another convention for an environment variable name for C++ compilers?

@HK47196
Copy link

HK47196 commented Aug 23, 2015

or is there another convention for an environment variable name for C++ compilers?

CXX, CC is strictly for the C Compiler, this applies to *FLAGS aswell.
currently, D's makefiles stomp all over environmental variables anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants