From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 13BA71395E3 for ; Sun, 27 Nov 2016 05:46:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F5B0E09FF; Sun, 27 Nov 2016 05:46:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 186CBE09FF for ; Sun, 27 Nov 2016 05:46:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D165C34123F for ; Sun, 27 Nov 2016 05:46:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EE5E4A8 for ; Sun, 27 Nov 2016 05:46:10 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1480223097.4c9a3b2f82783e7a97c4503778aadb1d2b06e14b.vapier@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 4c9a3b2f82783e7a97c4503778aadb1d2b06e14b X-VCS-Branch: master Date: Sun, 27 Nov 2016 05:46:10 +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: 209c5654-1f9b-483a-872f-b807d2301c4c X-Archives-Hash: 91d7a2f2401a780d0287931634a7cf7e commit: 4c9a3b2f82783e7a97c4503778aadb1d2b06e14b Author: Mike Frysinger gentoo org> AuthorDate: Sun Nov 27 05:04:57 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Nov 27 05:04:57 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4c9a3b2f build: add lazy support for STATIC=yes builds Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index baa27c2..949b375 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,8 @@ CPPFLAGS ?= CPPFLAGS += -DENABLE_NLS=$(call istrue,$(NLS)) DBG_CFLAGS = -O0 -DEBUG -g3 -ggdb -fno-pie $(call check_gcc, -fsanitize=address -fsanitize=leak -fsanitize=undefined) #CFLAGS += -Os -DOPTIMIZE_FOR_SIZE=2 -falign-functions=2 -falign-jumps=2 -falign-labels=2 -falign-loops=2 -#LDFLAGS := -pie +LDFLAGS_static_1 = -static +LDFLAGS += $(LDFLAGS_static_$(call istrue,$(STATIC))) LIBADD += $(shell echo | $(CC) -dM -E - | grep -q ' __FreeBSD__' && echo '-lkvm') LIBADD += -liniparser DESTDIR :=