summaryrefslogtreecommitdiff
path: root/misc/root/patches/patch-al
blob: be6203c0f4092c6a4c78f3b65be619291de08ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-al,v 1.2 2006/05/27 12:38:27 drochner Exp $

--- config/root-config.in.orig	2006-05-26 22:50:42.000000000 +0200
+++ config/root-config.in
@@ -276,6 +276,12 @@ freebsd5)
    auxcflags=
    auxlibs="-lm -lstdc++"
    ;;
+netbsd)
+   # NetBSD with libc
+   auxcflags=
+   auxlibs="-lm -lstdc++"
+   rootlibs="${rootlibs} -Wl,-R${libdir}"
+   ;;
 openbsd)
    # OpenBSD with libc
    auxcflags=