compile with -W -Wall

large files are now supported by configure. Remove
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 from
CFLAGS.
This commit is contained in:
nekral-guest
2007-11-20 19:10:16 +00:00
parent ab9d319d06
commit 9dcb747e52
2 changed files with 6 additions and 1 deletions

5
debian/changelog vendored
View File

@@ -23,6 +23,11 @@ shadow (1:4.1.0-1) UNRELEASED; urgency=low
algorithm. It is tagged as deprecated and ENCRYPT_METHOD is
recommended instead. New algorithms are also available.
Closes: #447747
* Debian packaging fixes:
- debian/rules: compile with -W -Wall
- debian/rules: large files are now supported by configure. Remove
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 from
CFLAGS.
-- Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net> Sat, 17 Nov 2007 18:33:26 +0100

2
debian/rules vendored
View File

@@ -31,7 +31,7 @@ endif
# Automatically controls patching at build time:
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
CFLAGS = -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
CFLAGS = -g -W -Wall
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else