more flags.

This commit is contained in:
christos 2016-06-01 00:54:20 +00:00
parent 97989743a7
commit 725f9292f8
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ CPPFLAGS+=-D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMI
LIBDPLIBS+= stdc++ ${.CURDIR}/../libstdc++-v3
LIBDPLIBS+= pthread ${.CURDIR}/../../../../../lib/libpthread
COPTS+=-std=gnu++11 -fsized-deallocation -fvisibility=hidden
COPTS+=-fno-builtin -fno-exceptions -fno-rtti-funwind-tables
# Can't profile without it`
#-fomit-frame-pointer
.if ${MACHINE_ARCH} == "vax"
COPTS.asan_allocator2.cc += -O1