blob: eaa5fd11dea046e077dabdf70a4ed987d89d0841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-cy,v 1.2 2008/02/06 16:41:07 hira Exp $
--- store/util/makefile.mk.orig 2007-07-05 08:57:12.000000000 +0000
+++ store/util/makefile.mk 2008-02-06 22:10:01.000000000 +0000
@@ -79,14 +79,16 @@
.IF "$(GUI)"=="WNT"
SHL1STDLIBS+= -lsupc++
.ELSE
-.IF "$(OS)"=="NETBSD"
-SHL1STDLIBS+= -lsupc++
-.ELIF "$(OS)"=="MACOSX"
+.IF "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD"
.IF "$(CCNUMVER)"<="000399999999"
SHL1STDLIBS+= -lsupc++
.ENDIF # CCNUMVER
.ELIF "$(CCNUMVER)"<="000400000999"
+.IF "$(OS)"=="FREEBSD"
+SHL1STDLIBS+= -lsupc++ -lgcc
+.ELSE
SHL1STDLIBS+= -lsupc++ -lgcc_s
+.ENDIF # FREEBSD
.ENDIF
.ENDIF
.ENDIF
|