across linux distributions; that's not really useful for us, and the way they did it (link with cc -lsupc++) doesn't work so well with clang. just switch to normal linking with c++. ok espie@ kirby@
20 lines
576 B
Plaintext
20 lines
576 B
Plaintext
$OpenBSD: patch-configure,v 1.3 2017/05/25 16:31:41 sthen Exp $
|
|
|
|
We care more about building with clang than binary portability between
|
|
Linux distributions.
|
|
|
|
Index: configure
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -12397,7 +12397,9 @@ $as_echo "$as_me: error: gethostbyname_r is required"
|
|
;;
|
|
esac
|
|
|
|
-if test -n "$GCC"; then
|
|
+if true; then
|
|
+ LD="$CXX"
|
|
+else
|
|
# Starting with GCC 3.0, you must link C++ programs against either
|
|
# libstdc++ (shared by default), or libsupc++ (always static). If
|
|
# you care about binary portability between Linux distributions,
|