From: Jan Beulich Date: Tue, 29 Mar 2016 15:16:47 +0000 (+0200) Subject: build: avoid putting local absolute symbols in symbol tables X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1476 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=607044bf9a8c8a8b37666a3a64c0d9b005875b13;p=xen.git build: avoid putting local absolute symbols in symbol tables They're not really useful past the building stage and only needlessly increase binary file sizes. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper Acked-by: Tim Deegan --- diff --git a/xen/Rules.mk b/xen/Rules.mk index f29491e08d..d4dffde179 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -50,6 +50,7 @@ ALL_OBJS-$(CONFIG_X86) += $(BASEDIR)/crypto/built_in.o CFLAGS += -nostdinc -fno-builtin -fno-common CFLAGS += -Werror -Wredundant-decls -Wno-pointer-arith CFLAGS += -pipe -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h +CFLAGS += -Wa,--strip-local-absolute CFLAGS += '-D__OBJECT_FILE__="$@"' CFLAGS-$(verbose) += -DVERBOSE