Descriptioncmd/go: if there are C++ sources, use g++ as default external linker
This will bring in the C++ standard library without requiring
any special #cgo LDFLAGS options.
When using gccgo, just add -lstdc++ to link line; this should
do no harm if it is not needed.
No tests, since we don't want to assume a C++ compiler.
Update issue 5629
Patch Set 1 #Patch Set 2 : diff -r a71616f65cb1 https://code.google.com/p/go #Patch Set 3 : diff -r a71616f65cb1 https://code.google.com/p/go #
Total comments: 2
Patch Set 4 : diff -r 240922d4eb83 https://code.google.com/p/go #Patch Set 5 : diff -r 6d6901174a41 https://code.google.com/p/go #MessagesTotal messages: 6
|