25 lines
632 B
Text
25 lines
632 B
Text
|
$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
|