diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-02-22 03:55:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-02-22 03:55:01 -0500 |
commit | b6e7aef905639342dea38511ccc413eaf9f9dbe8 (patch) | |
tree | 9b9969813754ee8809b5c9aa859cf89d17a682a4 | |
parent | tests: qmerge: enable tests (diff) | |
download | portage-utils-b6e7aef905639342dea38511ccc413eaf9f9dbe8.tar.gz portage-utils-b6e7aef905639342dea38511ccc413eaf9f9dbe8.tar.bz2 portage-utils-b6e7aef905639342dea38511ccc413eaf9f9dbe8.zip |
debug: build with more sanitize modes
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ CFLAGS ?= -O2 -g -pipe CFLAGS += -std=gnu99 CPPFLAGS ?= CPPFLAGS += -DENABLE_NLS=$(call istrue,$(NLS)) -DBG_CFLAGS = -O0 -DEBUG -g3 -ggdb -fno-pie $(call check_gcc, -fsanitize=address) +DBG_CFLAGS = -O0 -DEBUG -g3 -ggdb -fno-pie $(call check_gcc, -fsanitize=address -fsanitize=leak -fsanitize=undefined) #CFLAGS += -Os -DOPTIMIZE_FOR_SIZE=2 -falign-functions=2 -falign-jumps=2 -falign-labels=2 -falign-loops=2 #LDFLAGS := -pie LIBADD += $(shell echo | $(CC) -dM -E - | grep -q ' __FreeBSD__' && echo '-lkvm') |