diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sys-apps/minijail/files/minijail-17-no-werror.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sys-apps/minijail/files/minijail-17-no-werror.patch')
-rw-r--r-- | sys-apps/minijail/files/minijail-17-no-werror.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/minijail/files/minijail-17-no-werror.patch b/sys-apps/minijail/files/minijail-17-no-werror.patch new file mode 100644 index 000000000000..01d655f2bd55 --- /dev/null +++ b/sys-apps/minijail/files/minijail-17-no-werror.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/770940 +https://bugs.gentoo.org/732014 +--- a/common.mk ++++ b/common.mk +@@ -319,7 +319,7 @@ endif + # The same goes for CFLAGS. + COMMON_CFLAGS-gcc := -fvisibility=internal -ggdb3 -Wa,--noexecstack + COMMON_CFLAGS-clang := -fvisibility=hidden -ggdb +-COMMON_CFLAGS := -Wall -Wunused -Wno-unused-parameter -Werror -Wformat=2 \ ++COMMON_CFLAGS := -Wall -Wunused -Wno-unused-parameter -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 |