vapier 15/02/21 19:30:45 Modified: Makefile Log: build with more asan flags
Revision Changes Path 1.87 pax-utils/Makefile file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.87&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.87&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.86&r2=1.87 Index: Makefile =================================================================== RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- Makefile 19 Oct 2014 17:06:10 -0000 1.86 +++ Makefile 21 Feb 2015 19:30:45 -0000 1.87 @@ -1,6 +1,6 @@ # Copyright 2003-2006 Ned Ludd <[email protected]> # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.86 2014/10/19 17:06:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.87 2015/02/21 19:30:45 vapier Exp $ #################################################################### check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ @@ -68,7 +68,9 @@ DEBUG_FLAGS = \ -nopie \ - -fsanitize=address + -fsanitize=address \ + -fsanitize=leak \ + -fsanitize=undefined debug: clean $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check_gcc_many,$(DEBUG_FLAGS))" all @-chpax -permsx $(ELF_TARGETS)
