From patchwork Mon Apr 20 15:45:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Roberts X-Patchwork-Id: 11499251 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B8D414DD for ; Mon, 20 Apr 2020 15:46:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3332920775 for ; Mon, 20 Apr 2020 15:46:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CNLk87hW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728779AbgDTPq0 (ORCPT ); Mon, 20 Apr 2020 11:46:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729426AbgDTPqZ (ORCPT ); Mon, 20 Apr 2020 11:46:25 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74A5EC061A0C for ; Mon, 20 Apr 2020 08:46:25 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id a7so21515pju.2 for ; Mon, 20 Apr 2020 08:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=STKcgyAYLyPwimzGvxdtUzzEbb8zdagndp28hkuz3NM=; b=CNLk87hWaP+5y2NXSYgGuu2EB8GvzL4yj56klO+DOsE28rYeaDwgJZ9Yv8f99Awy+Z aWeUrRCVoUegLUnnU3xgNk3TPUYMDcJtlUVrX6sHTePw2DJ2sIIrAzYqkTBmCFi6JKlr c2+7DIWkdwozck919K921BxUO48BWjkUZVeXIWXkqtPtjIDGMIaDQJSLIg45vo5Y/ZUW N0f0PnMZPo57tp9IbJPePLIJET8FO88Kf94SMzDtJUSON24695tUEeRlkxAIFcdOQdvC Qv7PsgXmIzb4YEFfpwYrVV7Z7Joq0I0CLzbNmU7CMKCdherzVSN5ydYibxI5CpAA10g5 7n8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=STKcgyAYLyPwimzGvxdtUzzEbb8zdagndp28hkuz3NM=; b=WrsVCnDu5Og+voQitc7gf8BGexez4cALS5v6sz4e/wPWfXsbH0KUiHvNOrKXiEjOis dQMrBhFNNHHrPUXXZQdjaQrO2Ra8WT5dRXuz87QeMHIr/aB/F7SrQ9TLVq3HvjRUBPDI DBFQcRoti+TROiu8Iqs37H1FDTTeAKWtW9Oy57uiehofOLeWxYt0Vej11T1yGJGJBa7R lDk9CGHwUP8J9eZTLLT9/N1V6kv9QyacYBz0Ja7oER2nHAc3WbAnhxEt8AKakv0RyQfk 1ZXdPgTbul7ew2w9Suzfa1ZSz0L9ivsCW6bEtuxN+eg+Te2jOPwGidmkCvIYocRnxXuF Q1JA== X-Gm-Message-State: AGi0PubXx2t2JwQj8QkyEHVH4TOVjpWWHmLykdnP/SVCVu8T2krfMdy7 zSRyU6VLU24CKg36d1CP4Kg= X-Google-Smtp-Source: APiQypL+Aw36wr9YuWYUMEWZzdLmlmCq1eW4aw6K5APekphN/vEDbzsIBN107TKEW8eRI8FUl+VnVA== X-Received: by 2002:a17:902:7c09:: with SMTP id x9mr8358964pll.54.1587397584970; Mon, 20 Apr 2020 08:46:24 -0700 (PDT) Received: from localhost.localdomain ([192.55.55.43]) by smtp.gmail.com with ESMTPSA id i15sm1367507pfo.195.2020.04.20.08.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 08:46:24 -0700 (PDT) From: bill.c.roberts@gmail.com X-Google-Original-From: william.c.roberts@intel.com To: nicolas.iooss@m4x.org Cc: bill.c.roberts@gmail.com, selinux@vger.kernel.org, William Roberts Subject: [PATCH v3 19/19] Makefile: swig build allow deprecated functions Date: Mon, 20 Apr 2020 10:45:37 -0500 Message-Id: <20200420154537.30879-20-william.c.roberts@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200420154537.30879-1-william.c.roberts@intel.com> References: <20200420154537.30879-1-william.c.roberts@intel.com> Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org From: William Roberts The SWIG C build should allow deprecated functions and not warn on them because it is exposing the full interface including deprecated routines. Signed-off-by: William Roberts --- libselinux/src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 9992221f5fc5..73303c3666c9 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -105,7 +105,8 @@ FTS_LDLIBS ?= override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS) SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \ - -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations + -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations \ + -Wno-deprecated-declarations RANLIB ?= ranlib