diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-09-26 12:29:14 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-09-26 13:26:51 +0200 |
commit | d90adc3f699c3a53acbc72aab4e0cc5830fcb1b4 (patch) | |
tree | e887d9da397cb89c3d8303ea7a0c3c37f86d9c44 /sys-apps/minijail | |
parent | sci-mathematics/pari: remove unused patch (diff) | |
download | gentoo-d90adc3f699c3a53acbc72aab4e0cc5830fcb1b4.tar.gz gentoo-d90adc3f699c3a53acbc72aab4e0cc5830fcb1b4.tar.bz2 gentoo-d90adc3f699c3a53acbc72aab4e0cc5830fcb1b4.zip |
sys-apps/minijail: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/22411
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/minijail')
-rw-r--r-- | sys-apps/minijail/files/minijail-9-makefile.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sys-apps/minijail/files/minijail-9-makefile.patch b/sys-apps/minijail/files/minijail-9-makefile.patch deleted file mode 100644 index 6ec44a8079ad..000000000000 --- a/sys-apps/minijail/files/minijail-9-makefile.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/Makefile b/Makefile -index 54ee978..a50ee9a 100644 ---- a/Makefile -+++ b/Makefile -@@ -46,8 +46,8 @@ ifeq ($(USE_SYSTEM_GTEST),no) - GTEST_CXXFLAGS := -std=gnu++14 - GTEST_LIBS := gtest.a - else --GTEST_CXXFLAGS := $(shell gtest-config --cxxflags) --GTEST_LIBS := $(shell gtest-config --libs) -+GTEST_CXXFLAGS ?= $(shell gtest-config --cxxflags) -+GTEST_LIBS ?= $(shell gtest-config --libs) - endif - - CORE_OBJECT_FILES := libminijail.o syscall_filter.o signal_handler.o \ -@@ -73,6 +73,7 @@ clean: CLEAN(minijail0) - - - CC_LIBRARY(libminijail.so): LDLIBS += -lcap -+CC_LIBRARY(libminijail.so): LDFLAGS += -Wl,-soname,libminijail.so - CC_LIBRARY(libminijail.so): $(CORE_OBJECT_FILES) - clean: CLEAN(libminijail.so) - -@@ -91,6 +92,7 @@ TEST(CXX_BINARY(libminijail_unittest)): CC_LIBRARY(libminijailpreload.so) - - - CC_LIBRARY(libminijailpreload.so): LDLIBS += -lcap -ldl -+CC_LIBRARY(libminijailpreload.so): LDFLAGS += -Wl,-soname,libminijail.so - CC_LIBRARY(libminijailpreload.so): libminijailpreload.o $(CORE_OBJECT_FILES) - clean: CLEAN(libminijailpreload.so) - -diff --git a/common.mk b/common.mk -index 77879d8..1cd815b 100644 ---- a/common.mk -+++ b/common.mk -@@ -323,7 +323,7 @@ COMMON_CFLAGS := -Wall -Wunused -Wno-unused-parameter -Werror -Wformat=2 \ - -fno-strict-aliasing $(SSP_CFLAGS) -O1 - CXXFLAGS += $(COMMON_CFLAGS) $(COMMON_CFLAGS-$(CXXDRIVER)) -std=gnu++14 - CFLAGS += $(COMMON_CFLAGS) $(COMMON_CFLAGS-$(CDRIVER)) -std=gnu11 --CPPFLAGS += -D_FORTIFY_SOURCE=2 -+CPPFLAGS += - - # Enable large file support. - CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |