blob: ca6391104a426f43e7e441c806d1c946fbd2ea12 (
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.1.1.1 2008/10/14 11:02:25 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
|