From: Grigori Goronzy Date: Mon, 9 Aug 2010 17:03:26 +0000 (+0200) Subject: Set AM_CFLAGS instead of CFLAGS directly X-Git-Tag: 0.9.11~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=705d2f10efe51e5d8afab4be7c92f72ebe4c98b9;p=libass Set AM_CFLAGS instead of CFLAGS directly --- diff --git a/configure.ac b/configure.ac index 381e528..8cff886 100644 --- a/configure.ac +++ b/configure.ac @@ -90,8 +90,5 @@ AC_SUBST([PKG_REQUIRES]) # Setup output beautifier. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -# More sensible compile flags -CFLAGS="$CFLAGS -Wall" - AC_CONFIG_FILES([Makefile libass/Makefile test/Makefile libass.pc]) AC_OUTPUT diff --git a/libass/Makefile.am b/libass/Makefile.am index 04db84d..375f8e6 100644 --- a/libass/Makefile.am +++ b/libass/Makefile.am @@ -1,3 +1,5 @@ +AM_CFLAGS = -Wall + LIBASS_LT_CURRENT = 5 LIBASS_LT_REVISION = 0 LIBASS_LT_AGE = 1 diff --git a/test/Makefile.am b/test/Makefile.am index 9267b1a..9adad4d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,3 +1,5 @@ +AM_CFLAGS = -Wall + noinst_PROGRAMS = test test_SOURCES = test.c test_CPPFLAGS = -I../libass