cvs commit: ALFS/nALFS bootstrap.Makefile

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Thu Nov 6 10:00:52 PST 2003


kpfleming    03/11/06 11:00:52

  Modified:    nALFS    bootstrap.Makefile
  Log:
  add Neven's preferred list of gcc warning settings to Makefile.am, automatically used if --enable-maintainer-mode is specified when configure is run
  
  Revision  Changes    Path
  1.6       +8 -1      ALFS/nALFS/bootstrap.Makefile
  
  Index: bootstrap.Makefile
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/bootstrap.Makefile,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- bootstrap.Makefile	4 Nov 2003 19:03:08 -0000	1.5
  +++ bootstrap.Makefile	6 Nov 2003 18:00:52 -0000	1.6
  @@ -25,7 +25,14 @@
   endif
   
   AM_CPPFLAGS = -I$(srcdir)/src/include -I$(srcdir)/src
  -AM_CFLAGS = -W -Wall -Wshadow -Winline
  +if MAINTAINER_MODE
  +AM_CFLAGS = -W -Wall -Wshadow -Winline -Wundef -Wnested-externs
  +AM_CFLAGS += -Wredundant-decls -Wcast-align -Wstrict-prototypes
  +AM_CFLAGS += -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast
  +AM_CFLAGS += -Wpointer-arith -Waggregate-return -std=gnu99 -Wfloat-equal
  +AM_CFLAGS += -Wendif-labels -Wundef -Wcast-qual -Wsign-compare -Wpacked
  +AM_CFLAGS += -Wdisabled-optimization
  +endif
   
   noinst_LTLIBRARIES = src/ltdl/ltdl.la
   src_ltdl_ltdl_la_LDFLAGS = -module -avoid-version
  
  
  



More information about the alfs-log mailing list