diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2022-01-15 14:59:03 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-01-15 15:00:49 +0100 |
| commit | d6e71e1416ca34fbca69a38787796cf928f0aae7 (patch) | |
| tree | b660bb7935e75dfc7828d26d0add313fde4b907a /package/minijail/patches/patch-common_mk | |
| parent | f12ccc41398ac264cc4adb98aa16bfde4d6aa038 (diff) | |
minijail: new package
Diffstat (limited to 'package/minijail/patches/patch-common_mk')
| -rw-r--r-- | package/minijail/patches/patch-common_mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/minijail/patches/patch-common_mk b/package/minijail/patches/patch-common_mk new file mode 100644 index 000000000..23dc08e77 --- /dev/null +++ b/package/minijail/patches/patch-common_mk @@ -0,0 +1,15 @@ +--- minijail-linux-v17.orig/common.mk 2021-08-11 08:01:06.000000000 +0200 ++++ minijail-linux-v17/common.mk 2022-01-13 04:53:35.432449083 +0100 +@@ -306,12 +306,6 @@ check_libs_cxx = $(call check_compile,$( + check_cc = $(call check_compile_cc,'int main() { return 0; }',$(1),$(2)) + check_cxx = $(call check_compile_cxx,'int main() { return 0; }',$(1),$(2)) + +-# Choose the stack protector flags based on whats supported by the compiler. +-SSP_CFLAGS := $(call check_cc,-fstack-protector-strong) +-ifeq ($(SSP_CFLAGS),) +- SSP_CFLAGS := $(call check_cc,-fstack-protector-all) +-endif +- + # To update these from an including Makefile: + # CXXFLAGS += -mahflag # Append to the list + # CXXFLAGS := -mahflag $(CXXFLAGS) # Prepend to the list |
