Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- Makefile.orig 2018-01-08 20:51:35.059457728 +0900
- +++ Makefile 2018-01-08 21:48:09.062891308 +0900
- @@ -151,6 +151,16 @@
- EXTRA_CFLAGS += $(CFLAGS_EXTRA)
- +ifeq ($(CC),gcc)
- + GCC_VER := $(shell gcc -dumpversion | cut -d "." -f1)
- +
- + ifeq (1, $(shell [ $(GCC_VER) -ge 5 ] && echo 1 || echo 0))
- + ifeq (1, $(shell gcc -dumpspecs | grep no-pie > /dev/null 2>&1 && echo 1 || echo 0))
- + EXTRA_CFLAGS += -fno-pie
- + endif
- + endif
- +endif
- +
- RHC := $(KSRC)/include/linux/rhconfig.h
- ifneq (,$(wildcard $(RHC)))
- # 7.3 typo in rhconfig.h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement