patch-common_mk 732 B

123456789101112131415
  1. --- minijail-linux-v17.orig/common.mk 2021-08-11 08:01:06.000000000 +0200
  2. +++ minijail-linux-v17/common.mk 2022-01-13 04:53:35.432449083 +0100
  3. @@ -306,12 +306,6 @@ check_libs_cxx = $(call check_compile,$(
  4. check_cc = $(call check_compile_cc,'int main() { return 0; }',$(1),$(2))
  5. check_cxx = $(call check_compile_cxx,'int main() { return 0; }',$(1),$(2))
  6. -# Choose the stack protector flags based on whats supported by the compiler.
  7. -SSP_CFLAGS := $(call check_cc,-fstack-protector-strong)
  8. -ifeq ($(SSP_CFLAGS),)
  9. - SSP_CFLAGS := $(call check_cc,-fstack-protector-all)
  10. -endif
  11. -
  12. # To update these from an including Makefile:
  13. # CXXFLAGS += -mahflag # Append to the list
  14. # CXXFLAGS := -mahflag $(CXXFLAGS) # Prepend to the list