Remove coverage and profile flags.

pull/850/head
Nicholas Marriott 2017-03-22 21:59:43 +00:00
parent 1cb8145dc5
commit e87d808594
2 changed files with 0 additions and 22 deletions

View File

@ -30,14 +30,6 @@ AM_CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes
AM_CFLAGS += -Wno-unused-result
AM_CPPFLAGS += -DDEBUG
endif
if IS_COVERAGE
AM_CFLAGS += -g -O0 --coverage
AM_LDFLAGS += --coverage
endif
if IS_PROFILE
AM_CFLAGS += -g -O0 -pg
AM_LDFLAGS += -pg
endif
AM_CPPFLAGS += -iquote.
endif

View File

@ -42,20 +42,6 @@ AC_ARG_ENABLE(
)
AM_CONDITIONAL(IS_DEBUG, test "x$enable_debug" = xyes)
# Is this --enable-coverage?
AC_ARG_ENABLE(
coverage,
AC_HELP_STRING(--enable-coverage, enable coverage build flags)
)
AM_CONDITIONAL(IS_COVERAGE, test "x$enable_coverage" = xyes)
# Is this --enable-profile?
AC_ARG_ENABLE(
profile,
AC_HELP_STRING(--enable-profile, enable profile build flags)
)
AM_CONDITIONAL(IS_PROFILE, test "x$enable_profile" = xyes)
# Is this a static build?
AC_ARG_ENABLE(
static,