[lasem] 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] build: don't set -g -Werror and -O0 flags in AM_CFLAGS.
- Date: Thu, 15 Apr 2010 12:01:32 +0000 (UTC)
commit c4d545e51a56059539a7b30890bb3fa79dcc07ea
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 bcc0cbc..49cfb91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,5 +64,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 16aa3f8..2dc9b04 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,11 +9,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]