summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-03-22 21:59:43 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-03-22 21:59:43 +0000
commite87d808594e48a4c80d201d07fb86fbb9548409e (patch)
tree4fbaeb8d2fab5f6b78c04d313df4836192f4733b
parent1cb8145dc549ea627909f60ad343aeb02d479272 (diff)
Remove coverage and profile flags.
-rw-r--r--Makefile.am8
-rw-r--r--configure.ac14
2 files changed, 0 insertions, 22 deletions
diff --git a/Makefile.am b/Makefile.am
index ff9b77b7..da0fcc39 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/configure.ac b/configure.ac
index 34c2b896..db0baf1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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,