diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-03-04 16:52:07 +0530 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-03-04 16:52:07 +0530 |
commit | 496f933b107821504a26cfbe8eac41894ab617a4 (patch) | |
tree | d15d5848d2a2bf7850c3167a09e5dad4d540c685 | |
parent | 8594444bf340b98a8d0eb22a4af9c3ce7157d1ba (diff) | |
download | libcg-496f933b107821504a26cfbe8eac41894ab617a4.tar.gz libcg-496f933b107821504a26cfbe8eac41894ab617a4.tar.xz libcg-496f933b107821504a26cfbe8eac41894ab617a4.zip |
libcgroup: Introduce -Wall in CFLAGS
We did not have -Wall in the CFLAGS and lost out on a number of warnings
because of that. Introduce it now.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -6270,6 +6270,7 @@ ac_config_files="$ac_config_files libcgroup.spec:libcgroup.spec.in" ac_config_files="$ac_config_files mktarball:mktarball.in" +CFLAGS="$CFLAGS -Wall" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure diff --git a/configure.in b/configure.in index 328807c..e864fa5 100644 --- a/configure.in +++ b/configure.in @@ -64,4 +64,5 @@ AC_CHECK_FUNCS([getmntent hasmntopt memset mkdir rmdir strdup]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([libcgroup.spec:libcgroup.spec.in]) AC_CONFIG_FILES([mktarball:mktarball.in]) +CFLAGS="$CFLAGS -Wall" AC_OUTPUT |