Makefile (98817a84ff1c755c347ac633ff017a623a631fad) Makefile (893ab00439a45513cae55781fc8e3b7108ee1cda)
1#
2# This file is included by the global makefile so that you can add your own
3# architecture-specific flags and dependencies.
4#
5# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
6# Licensed under the GPL
7#
8

--- 107 unchanged lines hidden (view full) ---

116
117archprepare:
118 $(Q)$(MAKE) $(build)=$(HOST_DIR)/um include/generated/user_constants.h
119
120LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static
121LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib $(call cc-option, -no-pie)
122
123CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) \
1#
2# This file is included by the global makefile so that you can add your own
3# architecture-specific flags and dependencies.
4#
5# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
6# Licensed under the GPL
7#
8

--- 107 unchanged lines hidden (view full) ---

116
117archprepare:
118 $(Q)$(MAKE) $(build)=$(HOST_DIR)/um include/generated/user_constants.h
119
120LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static
121LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib $(call cc-option, -no-pie)
122
123CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) \
124 $(call cc-option, -fno-stack-protector,) \
125 $(call cc-option, -fno-stack-protector-all,)
124 -fno-stack-protector $(call cc-option, -fno-stack-protector-all)
126
127# Options used by linker script
128export LDS_START := $(START)
129export LDS_ELF_ARCH := $(ELF_ARCH)
130export LDS_ELF_FORMAT := $(ELF_FORMAT)
131
132# The wrappers will select whether using "malloc" or the kernel allocator.
133LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc

--- 16 unchanged lines hidden ---
125
126# Options used by linker script
127export LDS_START := $(START)
128export LDS_ELF_ARCH := $(ELF_ARCH)
129export LDS_ELF_FORMAT := $(ELF_FORMAT)
130
131# The wrappers will select whether using "malloc" or the kernel allocator.
132LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc

--- 16 unchanged lines hidden ---