Wed Mar 19 16:44:08 2014 UTC ()
MirBSD: remove -fvisibility=hidden until there is a version of gcc that
supports it.


(bsiegert)
diff -r1.9 -r1.10 pkgsrc/mk/platform/MirBSD.mk

cvs diff -r1.9 -r1.10 pkgsrc/mk/platform/MirBSD.mk (expand / switch to unified diff)

--- pkgsrc/mk/platform/MirBSD.mk 2013/04/28 12:53:56 1.9
+++ pkgsrc/mk/platform/MirBSD.mk 2014/03/19 16:44:08 1.10
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: MirBSD.mk,v 1.9 2013/04/28 12:53:56 obache Exp $ 1# $NetBSD: MirBSD.mk,v 1.10 2014/03/19 16:44:08 bsiegert Exp $
2# 2#
3# Variable definitions for the MirOS BSD operating system. 3# Variable definitions for the MirOS BSD operating system.
4 4
5ECHO_N?= ${ECHO} -n 5ECHO_N?= ${ECHO} -n
6IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake 6IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
7PKGLOCALEDIR?= share 7PKGLOCALEDIR?= share
8PS?= /bin/ps 8PS?= /bin/ps
9RSH?= /usr/bin/false # not delivered with MirOS any more 9RSH?= /usr/bin/false # not delivered with MirOS any more
10SU?= /usr/bin/su 10SU?= /usr/bin/su
11TYPE?= type # Shell builtin 11TYPE?= type # Shell builtin
12 12
13#USERADD?= ${LOCALBASE}/sbin/useradd 13#USERADD?= ${LOCALBASE}/sbin/useradd
14#GROUPADD?= ${LOCALBASE}/sbin/groupadd 14#GROUPADD?= ${LOCALBASE}/sbin/groupadd
@@ -35,27 +35,29 @@ _OPSYS_INCLUDE_DIRS?= /usr/include @@ -35,27 +35,29 @@ _OPSYS_INCLUDE_DIRS?= /usr/include
35 35
36_OPSYS_HAS_INET6= yes # IPv6 is standard 36_OPSYS_HAS_INET6= yes # IPv6 is standard
37_OPSYS_HAS_JAVA= no # Java is not standard 37_OPSYS_HAS_JAVA= no # Java is not standard
38_OPSYS_HAS_MANZ= no # MANZ controls gzipping of man pages 38_OPSYS_HAS_MANZ= no # MANZ controls gzipping of man pages
39_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available 39_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available
40_OPSYS_LIBTOOL_REQD= 1.5.22nb5 40_OPSYS_LIBTOOL_REQD= 1.5.22nb5
41_OPSYS_PERL_REQD= # no base version of perl required 41_OPSYS_PERL_REQD= # no base version of perl required
42_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads 42_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
43_OPSYS_SHLIB_TYPE= ELF # shared lib type 43_OPSYS_SHLIB_TYPE= ELF # shared lib type
44_PATCH_CAN_BACKUP= yes # native patch(1) can make backups 44_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
45_PATCH_BACKUP_ARG?= -V simple -z # switch to patch(1) for backup suffix 45_PATCH_BACKUP_ARG?= -V simple -z # switch to patch(1) for backup suffix
46_USE_RPATH= yes # add rpath to LDFLAGS 46_USE_RPATH= yes # add rpath to LDFLAGS
47 47
48BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library 48BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library
 49BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden # at least until there is a newer gcc
 50
49 51
50# flags passed to the linker to extract all symbols from static archives. 52# flags passed to the linker to extract all symbols from static archives.
51# this is GNU ld. 53# this is GNU ld.
52_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive 54_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
53_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive 55_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
54 56
55_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip 57_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip
56_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip 58_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip
57 59
58.if (${MACHINE_ARCH} == "i386") 60.if (${MACHINE_ARCH} == "i386")
59DEFAULT_SERIAL_DEVICE?= /dev/tty00 61DEFAULT_SERIAL_DEVICE?= /dev/tty00
60SERIAL_DEVICES?= /dev/tty00 \ 62SERIAL_DEVICES?= /dev/tty00 \
61 /dev/tty01 63 /dev/tty01