Commit f0f85a95 authored by Bernhard Link's avatar Bernhard Link

change default CFLAGS

parent 23b5ac3e
......@@ -14,7 +14,7 @@ ARCHIVE_CONTENTS =
ARCHIVE_UNUSED = ar.c debfile.c debfilecontents.c
endif
AM_CPPFLAGS = -Wall $(ARCHIVECPP) $(DBCPPFLAGS)
AM_CPPFLAGS = $(ARCHIVECPP) $(DBCPPFLAGS)
reprepro_LDADD = $(ARCHIVELIBS) $(DBLIBS)
changestool_LDADD = $(ARCHIVELIBS)
......
......@@ -11,6 +11,10 @@ AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AC_GNU_SOURCE
if test "${CFLAGS:+set}" != set ; then
CFLAGS="-Wall -O2 -g -Wmissing-prototypes -Wstrict-prototypes -Wshadow"
fi
AC_PROG_CC_C99
AC_PROG_INSTALL
AC_SYS_LARGEFILE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment