summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalah Coronya <salah.coronya@gmail.com>2020-05-14 21:54:37 -0500
committerConrad Kostecki <conikost@gentoo.org>2020-05-15 23:16:27 +0200
commitf7401276af3d0e6742824a7c63ba3fdbef81fc76 (patch)
treeb40621c816b56ec07afa80fc6fee9c4fd87e99dd /app-crypt/tpm2-tss-engine/files
parentapp-crypt/tpm2-tss-engine: Bump to 1.1.0_rc0 (diff)
downloadgentoo-f7401276af3d0e6742824a7c63ba3fdbef81fc76.tar.gz
gentoo-f7401276af3d0e6742824a7c63ba3fdbef81fc76.tar.bz2
gentoo-f7401276af3d0e6742824a7c63ba3fdbef81fc76.zip
app-crypt/tpm2-tss-engine: Remove old
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-tss-engine/files')
-rw-r--r--app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-build-add-disable-defaultflags.patch67
1 files changed, 0 insertions, 67 deletions
diff --git a/app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-build-add-disable-defaultflags.patch b/app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-build-add-disable-defaultflags.patch
deleted file mode 100644
index 7556a80600da..000000000000
--- a/app-crypt/tpm2-tss-engine/files/tpm2-tss-engine-1.0.1-build-add-disable-defaultflags.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 56cc4110e1ef0667ff248a689c50803c2ec4312b Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Fri, 31 May 2019 02:30:37 +0300
-Subject: [PATCH 2/3] build: add --disable-defaultflags
-
-Align with tpm2-tss to allow downstream to provide flags.
-
-Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
----
- configure.ac | 41 ++++++++++++++++++++++++-----------------
- 1 file changed, 24 insertions(+), 17 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index d14c4d7..3ee45c5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -84,23 +84,30 @@ AC_ARG_ENABLE([tctienvvar],
-
- AC_CONFIG_FILES([Makefile])
-
--AX_ADD_COMPILER_FLAG([-std=c99])
--AX_ADD_COMPILER_FLAG([-Wall])
--AX_ADD_COMPILER_FLAG([-Wextra])
--AX_ADD_COMPILER_FLAG([-Wformat-security])
--AX_ADD_COMPILER_FLAG([-Werror])
--AX_ADD_COMPILER_FLAG([-fstack-protector-all])
--AX_ADD_COMPILER_FLAG([-fpic])
--AX_ADD_COMPILER_FLAG([-fPIC])
--
--# work around GCC bug #53119
--# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
--AX_ADD_COMPILER_FLAG([-Wno-missing-braces])
--
--AX_ADD_LINK_FLAG([-Wl,--no-undefined])
--AX_ADD_LINK_FLAG([-Wl,-z,noexecstack])
--AX_ADD_LINK_FLAG([-Wl,-z,now])
--AX_ADD_LINK_FLAG([-Wl,-z,relro])
-+AC_ARG_ENABLE([defaultflags],
-+ [AS_HELP_STRING([--disable-defaultflags],
-+ [Disable default preprocessor, compiler, and linker flags.])],,
-+ [enable_defaultflags=yes])
-+AS_IF([test "x$enable_defaultflags" = "xyes"],
-+ [
-+ AX_ADD_COMPILER_FLAG([-std=c99])
-+ AX_ADD_COMPILER_FLAG([-Wall])
-+ AX_ADD_COMPILER_FLAG([-Wextra])
-+ AX_ADD_COMPILER_FLAG([-Wformat-security])
-+ AX_ADD_COMPILER_FLAG([-Werror])
-+ AX_ADD_COMPILER_FLAG([-fstack-protector-all])
-+ AX_ADD_COMPILER_FLAG([-fpic])
-+ AX_ADD_COMPILER_FLAG([-fPIC])
-+
-+ # work around GCC bug #53119
-+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
-+ AX_ADD_COMPILER_FLAG([-Wno-missing-braces])
-+
-+ AX_ADD_LINK_FLAG([-Wl,--no-undefined])
-+ AX_ADD_LINK_FLAG([-Wl,-z,noexecstack])
-+ AX_ADD_LINK_FLAG([-Wl,-z,now])
-+ AX_ADD_LINK_FLAG([-Wl,-z,relro])
-+ ])
-
- AX_CODE_COVERAGE
- m4_ifdef([_AX_CODE_COVERAGE_RULES],
---
-2.24.1
-