daily pastebin goal
19%
SHARE
TWEET

Untitled

SatheeshJM Sep 8th, 2018 123 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- Makefile
  2. +++ Makefile
  3. @@ -608,6 +608,12 @@ endif # $(dot-config)
  4.  # Defaults to vmlinux, but the arch makefile usually adds further targets
  5.  all: vmlinux
  6.  
  7. +# force no-pie for distro compilers that enable pie by default
  8. +KBUILD_CFLAGS += $(call cc-option, -fno-pie)
  9. +KBUILD_CFLAGS += $(call cc-option, -no-pie)
  10. +KBUILD_AFLAGS += $(call cc-option, -fno-pie)
  11. +KBUILD_CPPFLAGS += $(call cc-option, -fno-pie)
  12. +
  13.  # The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
  14.  # values of the respective KBUILD_* variables
  15.  ARCH_CPPFLAGS :=
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top