From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 65275138CC5 for ; Tue, 24 Mar 2015 19:45:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D95CE08E6; Tue, 24 Mar 2015 19:45:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13709E08E6 for ; Tue, 24 Mar 2015 19:45:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2EB034091F for ; Tue, 24 Mar 2015 19:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94BAA14737 for ; Tue, 24 Mar 2015 19:45:43 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1427219190.de93587affb17675e6f7cab2b85613d61e11b98b.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: mk/ X-VCS-Repository: proj/openrc X-VCS-Files: mk/os-Linux.mk X-VCS-Directories: mk/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: de93587affb17675e6f7cab2b85613d61e11b98b X-VCS-Branch: master Date: Tue, 24 Mar 2015 19:45:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b0d35b38-44e7-43c9-aaab-4743b7c53b9c X-Archives-Hash: 046d33bb75b61ebb8cc5db7d7b0e4fd0 commit: de93587affb17675e6f7cab2b85613d61e11b98b Author: William Hubbs gmail com> AuthorDate: Mon Mar 23 14:13:55 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Mar 24 17:46:30 2015 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=de93587a Silence warning about _DEFAULT_SOURCE for Linux/glibc In >=glibc-2.20, the _BSD_SOURCE macro is deprecated in favor of _DEFAULT_SOURCE. This adds -D_DEFAULT_SOURCE to CPPFLAGS on Linux. Fixes #44 mk/os-Linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk index bb6fa37..60235b8 100644 --- a/mk/os-Linux.mk +++ b/mk/os-Linux.mk @@ -4,7 +4,7 @@ SFX= .Linux.in PKG_PREFIX?= /usr -CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700 +CPPFLAGS+= -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 LIBDL= -Wl,-Bdynamic -ldl ifeq (${MKSELINUX},yes)