[Devel] debian rules overwrites CFLAGS

Juha Heinanen jh at tutpro.com
Tue Dec 19 17:04:12 CET 2006


i was wondering why i still get strict aliasing warning although there
is this test in Makefile.defs:

ifeq			($(CC_SHORTVER), 4.1)
					CFLAGS+=-Wno-strict-aliasing 
endif

when i make openser debian packages.  its turns out that debian/rules
overwrites CFLAGS as defined by Makefile.defs like this:

CFLAGS = -Wall -g

is this intentional or can i remove the line and commit the change?

at the same time, i could commit dan's error report in the init file.

-- juha



More information about the Devel mailing list