Date: Fri, 17 Feb 2012 13:24:28 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r231875 - in user/brooks/tchacks: gnu/lib/libssp lib/libbsnmp/libbsnmp Message-ID: <201202171324.q1HDOSqe079976@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Fri Feb 17 13:24:28 2012 New Revision: 231875 URL: http://svn.freebsd.org/changeset/base/231875 Log: Make linker warnings non-fatal to avoid errors when linking with ld from binutils 2.22. It's not clear to me why we don't get errors during cross build with the normal linker. Modified: user/brooks/tchacks/gnu/lib/libssp/Makefile user/brooks/tchacks/lib/libbsnmp/libbsnmp/Makefile Modified: user/brooks/tchacks/gnu/lib/libssp/Makefile ============================================================================== --- user/brooks/tchacks/gnu/lib/libssp/Makefile Fri Feb 17 13:21:59 2012 (r231874) +++ user/brooks/tchacks/gnu/lib/libssp/Makefile Fri Feb 17 13:24:28 2012 (r231875) @@ -36,3 +36,6 @@ ssp.h: ssp.h.in SUBDIR+= libssp_nonshared .include <bsd.lib.mk> + +# Code users gets() so don't let linker warnings be fatal. +SOLINKOPTS+= -Wl,--no-fatal-warnings Modified: user/brooks/tchacks/lib/libbsnmp/libbsnmp/Makefile ============================================================================== --- user/brooks/tchacks/lib/libbsnmp/libbsnmp/Makefile Fri Feb 17 13:21:59 2012 (r231874) +++ user/brooks/tchacks/lib/libbsnmp/libbsnmp/Makefile Fri Feb 17 13:24:28 2012 (r231875) @@ -23,3 +23,6 @@ INCS= asn1.h snmp.h snmpagent.h snmpclie MAN= asn1.3 bsnmplib.3 bsnmpclient.3 bsnmpagent.3 .include <bsd.lib.mk> + +# Code uses mktemp() so don't let linker warnings be fatal. +SOLINKOPTS+= -Wl,--no-fatal-warnings
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202171324.q1HDOSqe079976>