Lines Matching refs:common
11 cflags-common += -g -gdwarf-4
23 cflags-common += $(cflags-$(ARCH))
72 cflags-common += $(WARNING$(W))
74 cflags-common += -Werror
100 cflags-common += ${DEFINES} ${INCLUDES} ${MBEDTLS_INC} -nostdinc
102 cflags-common += -ffunction-sections -fdata-sections \
103 -ffreestanding -fno-common \
107 cflags-common += -mbranch-protection=${BP_OPTION}
111 cflags-common += -fsanitize=undefined -fno-sanitize-recover
115 cflags-common += -fsanitize=undefined -fno-sanitize-recover \
120 cflags-common += -Wno-error=deprecated-declarations
121 cflags-common += -Wno-error=cpp
133 cflags-common += $(march-directive)
136 cflags-common += -fno-PIE
141 cflags-common += -flto-partition=one
145 cflags-common += $(TF_CFLAGS_$(ARCH))
146 cflags-common += $(CPPFLAGS) $(CFLAGS) # some platforms set these
147 TF_CFLAGS += $(cflags-common)
154 TF_LDFLAGS += $(cflags-common)
172 ldflags-common += -fuse-ld=lld
175 ldflags-common := $(call ld_option,--no-warn-rwx-segments)
179 ldflags-common += $(call ld_prefix,--fatal-warnings)
181 ldflags-common += $(call ld_prefix,--gc-sections)
182 ldflags-common += -z common-page-size=4096 # Configure page size constants
183 ldflags-common += -z max-page-size=4096
184 ldflags-common += $(call ld_prefix,--build-id=none)
185 ldflags-common += $(call ld_option,--sort-section=alignment)
188 ldflags-common += -fuse-linker-plugin
191 ldflags-common += -nostdlib
194 ldflags-common += @${BUILD_PLAT}/romlib/romlib.ldflags
214 ldflags-common += -no-pie
217 TF_LDFLAGS += $(ldflags-common)