patch-configure 576 B

1234567891011121314151617181920
  1. $OpenBSD: patch-configure,v 1.3 2017/05/25 16:31:41 sthen Exp $
  2. We care more about building with clang than binary portability between
  3. Linux distributions.
  4. Index: configure
  5. --- configure.orig
  6. +++ configure
  7. @@ -12397,7 +12397,9 @@ $as_echo "$as_me: error: gethostbyname_r is required"
  8. ;;
  9. esac
  10. -if test -n "$GCC"; then
  11. +if true; then
  12. + LD="$CXX"
  13. +else
  14. # Starting with GCC 3.0, you must link C++ programs against either
  15. # libstdc++ (shared by default), or libsupc++ (always static). If
  16. # you care about binary portability between Linux distributions,