From: ian Date: Wed, 18 Oct 2006 15:58:55 +0000 (+0000) Subject: -Wno-strict-alias X-Git-Tag: debian/1.1.1~36 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=86161db08f15e223ff453f08436724ff1fedd88d -Wno-strict-alias --- diff --git a/base/common.make b/base/common.make index 6e3852a..bc86488 100644 --- a/base/common.make +++ b/base/common.make @@ -33,6 +33,10 @@ ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),) CFLAGS += -Wno-pointer-sign endif +ifeq ($(shell $(CC) -Wno-strict-alias -E -x c /dev/null >/dev/null || echo x),) +CFLAGS += -Wno-strict-alias +endif + CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \ $(OPTIMISE) CPPFLAGS += -I$(TCL_INCLUDEDIR) -I$(BASE_DIR) diff --git a/debian/changelog b/debian/changelog index e9904d4..5d25ce7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,8 +9,9 @@ chiark-tcl (1.0.1) unstable; urgency=low since we need adns_init_logfn. Closes: #382287. * Declare build-dependency on libcdb-dev | tinycdb (<= 0.75) since cdb.h etc. is in libcdb-dev off nowadays. Closes: #387904. + * Pass -Wno-strict-alias. The compiler is wrong. - -- Ian Jackson Wed, 18 Oct 2006 16:49:19 +0100 + -- Ian Jackson Wed, 18 Oct 2006 16:58:37 +0100 chiark-tcl (1.0.0.99.iwj.2) unstable; urgency=low