From patchwork Mon Nov 14 18:12:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Smalley X-Patchwork-Id: 9428159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7049460471 for ; Mon, 14 Nov 2016 18:11:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67FA9289FE for ; Mon, 14 Nov 2016 18:11:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CBC428AB4; Mon, 14 Nov 2016 18:11:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (smtp.nsa.gov [8.44.101.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 71AC5289FE for ; Mon, 14 Nov 2016 18:11:50 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,491,1473120000"; d="scan'208";a="739177" IronPort-PHdr: =?us-ascii?q?9a23=3AayKyixIlEZslMY6DNtmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgQKf7yrarrMEGX3/hxlliBBdydsKMfzbOO+Pm4BiQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9GiTe5b75+Ngi6oRneusULnYdvKLs6xwfUrHdPZ+?= =?us-ascii?q?lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRne?= =?us-ascii?q?VgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gy?= =?us-ascii?q?gJLT459HzchNJ2gqxVvRmtowVzz5DIbI2QMvd1Y6HTcs4ARWdZXshfSTFPDI2/?= =?us-ascii?q?YYUIF+oMP/tUoofyqFQSohWxGxKsCfjzyjJKnHL6wbc33/g/HQzAwQcuH8gOsH?= =?us-ascii?q?PRrNjtKakSTf66zLHIzTrdafNdxCrz6I3SfRAlpfGDQ7JxetfWxEk0CgzFlU6d?= =?us-ascii?q?qZDlPjyJ1uQNtHKX7+x7Ve21kWInpAZxoia2y8oql4LHhZoVx0jZ+Sh2z4s5P9?= =?us-ascii?q?21RFNhbdK6H5ZcqTuWO5ZwT8g/WW9nojw6xacDuZOjeSgKz4koyADHZvycdoiI?= =?us-ascii?q?/grjVOGMITdknH5leKywhxK18UW41u3zTNO00FdXripeiNXMqnAM2ADT6siAUP?= =?us-ascii?q?d9+Fuu2S2T2AzJ7+FEIEQ0mbLaK54n3LEwioIevVnMEyL5gkn7jLKael869uWn?= =?us-ascii?q?9ejreKjqqoeZN4BuiwH+Nqoumta4AeQ9KgUORHaU+eC91L3l4E34T6xGgeYxkq?= =?us-ascii?q?nEtpDVOdoUprWiDg9J0ocs9xa/DzC83NQehnkINkhJeB2Aj4j3I13OOuz3De+j?= =?us-ascii?q?g1Swlzdm3/DHP7zmApXLNXXDlbPhca98605a0gYzy8pQ54hXCrEAPvL8RFX9tN?= =?us-ascii?q?rGAR8lKwa02froCM1h1oMCXmKCGrGWMLvIvl+S5+IvOPKBZJcPtzbnKvgl/Obu?= =?us-ascii?q?jXsjllABY6alx5wXaGq3Hv5+OUWWfWLsgssdEWcNpgc/Qu3qiFmHUTFNfXa/RK?= =?us-ascii?q?w86S8mB4KhF4fMXJitgKaG3Ce5AJJZenxGBkqLEXfyeIWOQ+0MZz6KIs99jjwE?= =?us-ascii?q?UqCsS4E71R60sg/117tnLvHP9y0drZLj1cF55/bdlBEp7zB0CN6d026VRWFugm?= =?us-ascii?q?wIXyM23Lx4oUFlyVeMy6t4g/tFFdFI5PNGSAQ6NZnBz+BgDNDyQA3BdM+TSFm6?= =?us-ascii?q?WtWmHS0xTtUpztAUfkl9AdSigQ7Z3yexGbAai7mLCIYz8qLG0Hj7P9x9xGre1K?= =?us-ascii?q?k9k1kmRdNCOnG8ia576QfTHJLJkkWel6uxbqQTwC/N+3mFzWqSvUFXShR8UaPb?= =?us-ascii?q?UnADfkHWt8j25lveT7+yDrQqKgtBxtCGKqtObd3kllFGROr/ONTZZmK+gX28BR?= =?us-ascii?q?GSxrODdIDqYXkS3D3BCEgYlAAe5W2GNQYkBiemuGLeECdjFUnpY0Pr/+h+rWm0?= =?us-ascii?q?TkkuwwGMcUJhy6K/+gQJivyEV/MTwrUEtT8vqjpuGFa9w8zZC8Cbpwd6YqVTf8?= =?us-ascii?q?k970xa1WLcrQB9OYagL696jF4Ebwt3p1/u1wlwCohYjcglsW4lzAtoJqKcy15O?= =?us-ascii?q?azSY3ZXsNbLNMWny4Aqja6jI1VHCyNyW4LsA6Owkq1X/uwGkDkwi83Rj09lRzX?= =?us-ascii?q?Sc/Y7HAxAMXpLrVUY77R96p6vVYiMl/YPbyWVsMbWosj/Fw98mGfEqygq6cNhB?= =?us-ascii?q?PqOFGxT/HNEaB8e0Muwqh0ambggeMOBU6qE0I9usd+Ga166zIOZggDWmgHxZ4I?= =?us-ascii?q?B8zk2M6y18SvTS05kZw/GY2Q2HVzjngVels8D3n5pLZSsVHmalzijkHoFRbLVo?= =?us-ascii?q?fYkXEWeuP9G3xtJmip7pWn5Y70KjC0od2MC3fRqSblr93RBf1EkMunyngSq4zz?= =?us-ascii?q?p1kz41taqTxirOzPr+dBAfIG5EWHFijUvwIYizl90aRk+obwwtlBS7/0b1269b?= =?us-ascii?q?papkImnIXEdH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LKQKyR?= =?us-ascii?q?81/gTkOE2FDOhVeBKMiDoHuN+wzJt23YlbOzEcDn5wPjmw5rbSugAlmuGDXMss?= =?us-ascii?q?bnccQIQEKmo8WNemlC5Bo3RAED633/oExwee6j/8oSLQDCXhY9d4evebewlsCN?= =?us-ascii?q?C3+DU49ai6k1jX/YvCJ2viL9RtpsfP6f8Gp5aAE/5UTqN9skfGlIleW3yqU3XC?= =?us-ascii?q?EdGyJ5jod4Ygd9r0BWimUlankTI6U9/xPMqxLqiPmQzoWYdUsIyc3DA/Nc+8Fi?= =?us-ascii?q?oTFApxp+AD/q1zfhcPY5wlbh70rw4+LbCwIB+E0tWyRGagMTRWT+NFwuW8e7xa?= =?us-ascii?q?1Cssbui0yXsmUpE6z/e48U8LRJEWkB7e3+yvZ49AXijvAnZdYRnApTIll2h9Me?= =?us-ascii?q?Y/2v0wwBfJsVYALT+EbOlpaWxCv9E7A1OdO257BXE5R1CGi4rP+wCs360I8ytb?= =?us-ascii?q?gdlUzfVPsGLisZ/HfDKsRKurpI3OvCU+a9gruLd+PpH9IsSYrpPehSbQTIPQsw?= =?us-ascii?q?GfVy66DfVakMBKIC1EWPlIhX0lOcsetIpb70oxV9sxJ7xICKkovbCkcSNqAzMI?= =?us-ascii?q?wyIFUI2NxyANguC527TGjBiQa4giPAYCsJpcntsXSzR2bT8GpK+/S4XWkHeJRX?= =?us-ascii?q?QJIAgJ8QtB/x4Ploh0fuDh4YrHUoVMyyJIrP1oUivHDJ5o90H0SmuOm1j3VO2h?= =?us-ascii?q?k/C13QJV1P/syMMUWAR4CUdG3OtWilEoJ6tpK6YOuo7KszmIdUz+vGLsx+umJE?= =?us-ascii?q?VRycPOeF3iCYrJr2z8XTMA+XcMX49A1GnfFYgOkwp+cKsqpE9DIJu8dUb75jwk?= =?us-ascii?q?wZ9kH7ikVc+x3FYqsWwJSz2sE9VfF+FsqEjXVyF9Y5C3tJXlPI1fQ2FK9JKBq1?= =?us-ascii?q?dZkUBtMy+jxppfMM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-ascii?q?dNjPdhUwvOqWx+EM4/hxNkblfY8UOA4ExK766XtbSQtuUr32skyaXe0PfttmTu?= =?us-ascii?q?3LrnRP5YJnMa8PM0CXpIb2oTdQtFA2HAgpZacsrjxAaEbOmBdaW6Dqt7MblwQc?= =?us-ascii?q?UNF5uU5QGW2qI2Ix/SDHVblPgKmXFvMV7i2ZTrYSXEVwLiN+XxS11Y1he7Szh/?= =?us-ascii?q?BIrH9GniNmrfgu0jxmWAWzuS32qKIQwjIs4re4uysduXZdVOWRjz/ICUlfzPQN?= =?us-ascii?q?laocBGjt6VqgYHkEa4v+56JnKtrk9Ykg5XQ/fBoicjYCXeu+ESHxj7mHDpaJsN?= =?us-ascii?q?1CmB6HoN/OYqOrLSgOKrQ9zgruR3580gfCmxZo9HEEQi664N8lI4W9Pt0lxjGz?= =?us-ascii?q?FGjee1sN7blFsMzrtV4EVOE2c09uwH1/0sibQS0AXMPPFHoujgg/cGlKbZ1N5x?= =?us-ascii?q?kbF6kunzaJsbJL/g4RYDjOFISq5JPcncDS2XkyVd1q3H7ZprWZhpM2131og9F0?= =?us-ascii?q?7imOuHQUbeDXT89sAnzu1ohCyO3+ZvOtsvsESItn07mhTv4CMte59muyxZpqW1?= =?us-ascii?q?WpxrIAEFqlKOUD3KvUUz+5SW2EXuSGa2mMnygjPU70/hSoKkA3Z9pLr086KevO?= =?us-ascii?q?nJlclxfuUblsXCWfuUfbzHA/MeMdbw82upmoewIETO4VfOWdK/IhwPsgB1sQdX?= =?us-ascii?q?PJGzV5C/Ouu163gId7I2lg4Vn9Yen1/QDmNNySGxcaHo7eqp584ue6RmWHOX9h?= =?us-ascii?q?0BJ+Jk90+PnDF14prO9Tb46RncTMh9R8yeMFdfdtMC0lut4UnoJj6JWU39mRfB?= =?us-ascii?q?HUz5byOcvVreaCD/3Y1UQqdXlQUqAFbgPt+4U6Itk5VqXPHbtYuBQRHrQ6QJ09?= =?us-ascii?q?OGfy6q50KBl/cgjPa7SomsPqvP6EZoNIp3/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n6JPWOK?= =?us-ascii?q?oRx/Yp2ihqoCokvCWBF1ldlB6K87LMHKJgwb1P/Ws4//ZwXkGLWD7fd3bIxZeo?= =?us-ascii?q?C8JI3ydhvW7r29DSvu9zKLsJ771+VUwHBSNwO8D14SFKUWay3hC7+Rm8AmewOj?= =?us-ascii?q?UctQ0XKDQFe+A99OpytBLFZ56V8k+Ln74wo0usTwCQA/y734IdWZKh7hmxdSQe?= =?us-ascii?q?KWbjLJtxsPsY0YxKbA=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2FnCACZ/SlY/wHyM5BeHAEBBAEBCgEBFwEBBAEBCgEBgwY?= =?us-ascii?q?BAQEBAR9YcBCmSwGUXCQDgXiGL1MBAQEBAQEBAQIBAl8ogjMafltDAjcUIAsDA?= =?us-ascii?q?wkCFykICAMBLRUfCwUYBIhAsXUqAoswJY8wEQGCaAuDCgWPXIplhjyKIQKCPId?= =?us-ascii?q?YhggCkU5VWg0CDwschThUhU+CLQEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 14 Nov 2016 18:11:48 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAEI9KUA003421; Mon, 14 Nov 2016 13:09:23 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id uAEI9ISr097022 for ; Mon, 14 Nov 2016 13:09:18 -0500 Received: from moss-pluto.infosec.tycho.ncsc.mil (moss-pluto [192.168.25.131]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAEI9HfD003415; Mon, 14 Nov 2016 13:09:17 -0500 From: Stephen Smalley To: selinux@tycho.nsa.gov Subject: [PATCH] libselinux: fix subdir build and usage of cmdline CFLAGS Date: Mon, 14 Nov 2016 13:12:06 -0500 Message-Id: <1479147126-11727-1-git-send-email-sds@tycho.nsa.gov> X-Mailer: git-send-email 2.7.4 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: Stephen Smalley MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP commit 16c123f4b1f3c8d20b3f597df161d7e635620923 ("libselinux: support ANDROID_HOST=1 on Mac") broke the ability to run make in the src subdirectory of libselinux (because OS and COMPILER were not defined) and also caused some warning flags that could be overridden via command-line CFLAGS to be mandatory. Fix it. Signed-off-by: Stephen Smalley --- libselinux/src/Makefile | 12 ++++++++++-- libselinux/utils/Makefile | 10 +++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 24946ce..76efe49 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -23,6 +23,14 @@ LIBSEPOLA ?= $(LIBDIR)/libsepol.a VERSION = $(shell cat ../VERSION) LIBVERSION = 1 +OS ?= $(shell uname) + +ifeq ($(shell $(CC) -v 2>&1 | grep "clang"),) +COMPILER ?= gcc +else +COMPILER ?= clang +endif + LIBA=libselinux.a TARGET=libselinux.so LIBPC=libselinux.pc @@ -67,12 +75,12 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro ifeq ($(COMPILER), gcc) -override CFLAGS += -fipa-pure-const -Wlogical-op -Wpacked-bitfield-compat -Wsync-nand \ +CFLAGS += -fipa-pure-const -Wlogical-op -Wpacked-bitfield-compat -Wsync-nand \ -Wcoverage-mismatch -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Wp,-D_FORTIFY_SOURCE=2 else -override CFLAGS += -Wunused-command-line-argument +CFLAGS += -Wunused-command-line-argument endif ifeq ($(OS), Darwin) diff --git a/libselinux/utils/Makefile b/libselinux/utils/Makefile index a4f9903..7744184 100644 --- a/libselinux/utils/Makefile +++ b/libselinux/utils/Makefile @@ -5,6 +5,14 @@ USRBINDIR ?= $(PREFIX)/sbin SBINDIR ?= $(DESTDIR)/sbin INCLUDEDIR ?= $(PREFIX)/include +OS ?= $(shell uname) + +ifeq ($(shell $(CC) -v 2>&1 | grep "clang"),) +COMPILER ?= gcc +else +COMPILER ?= clang +endif + MAX_STACK_SIZE=8192 CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith \ @@ -26,7 +34,7 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro ifeq ($(COMPILER), gcc) -override CFLAGS += -fipa-pure-const -Wpacked-bitfield-compat -Wsync-nand -Wcoverage-mismatch \ +CFLAGS += -fipa-pure-const -Wpacked-bitfield-compat -Wsync-nand -Wcoverage-mismatch \ -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ -Wno-suggest-attribute=pure -Wno-suggest-attribute=const