[dconf-editor] Don't tweak hard CFLAGS.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Don't tweak hard CFLAGS.
- Date: Sun, 1 Jan 2017 07:18:14 +0000 (UTC)
commit d9c9e84c748653a1e259ddd2b6bef382c7fd1470
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Jan 1 08:16:26 2017 +0100
Don't tweak hard CFLAGS.
autogen.sh | 4 ----
configure.ac | 5 -----
2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 85ae182..8df9de6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -34,10 +34,6 @@ if test -z $AUTORECONF; then
exit 1
fi
-CFLAGS=${CFLAGS=-ggdb}
-LDFLAGS=${LDFLAGS=-Wl,-O1}
-export CFLAGS LDFLAGS
-
autoreconf --force --install --verbose
cd "$olddir"
diff --git a/configure.ac b/configure.ac
index 02b92e4..506413e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,11 +10,6 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11.2 foreign -Wno-portability no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
-# Set default CFLAGS before AC_PROG_CC does
-if test "${CFLAGS+yes}" != "yes"; then
- CFLAGS='-O2 -g -Wall -Wwrite-strings -Wmissing-prototypes -fno-common'
-fi
-
# Check for programs
AC_PROG_CC
AC_PROG_INSTALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]