[lasem/lasem-0-2: 2/2] build: don't set -g -Werror and -O0 flags in AM_CFLAGS.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem/lasem-0-2: 2/2] build: don't set -g -Werror and -O0 flags in AM_CFLAGS.
- Date: Thu, 15 Apr 2010 12:08:19 +0000 (UTC)
commit cd271e8a2a4fdd34ba9e236b56ae6a25bbe7a32e
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Thu Apr 15 14:00:23 2010 +0200
build: don't set -g -Werror and -O0 flags in AM_CFLAGS.
User can set them using./configure CFLAGS="-g -Werror -O0".
configure.ac | 2 +-
src/Makefile.am | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fde53fc..bf14136 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,5 +54,5 @@ echo ""
echo "Configuration:"
echo ""
echo " Compiler: ${CC}"
-echo " Compiler flags: ${LASEM_CFLAGS}"
+echo " Compiler flags: ${CFLAGS} ${LASEM_CFLAGS}"
echo ""
diff --git a/src/Makefile.am b/src/Makefile.am
index f95757b..82197b8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,11 +4,7 @@ INCLUDES = \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" $(LASEM_CFLAGS) \
-DG_LOG_DOMAIN=\"Lasem\"
-AM_CFLAGS =\
- -Wall\
- -Werror \
- -g \
- -O0
+AM_CFLAGS = -Wall
lib_LTLIBRARIES = liblasem- LASEM_API_VERSION@.la
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]