$NetBSD: patch-ac,v 1.3 2007/06/21 11:55:32 markd Exp $ --- config/site.def.NETBSD.orig 2003-10-22 18:13:39.000000000 +0000 +++ config/site.def.NETBSD @@ -16,6 +16,9 @@ #undef TroffCmd #define TroffCmd groff +#undef CppCmd +#define CppCmd cpp + /* * build RPC classes -- requires iostreams & TCP sockets */ @@ -35,7 +38,7 @@ #define ExtraCCLdLibs -lstdc++ -lm /* command to create shared libraries */ -#define SharedLibraryCmd(ldobjs,extra_flags) gcc -shared extra_flags -o $@ ldobjs +#define SharedLibraryCmd(ldobjs,extra_flags) ${CXX} ${CCLDFLAGS} -shared extra_flags -o $@ ldobjs /* * Install a shared library on NetBSD.