# base code for various Tcl extensions
-# Copyright 2006 Ian Jackson
+# Copyright 2006-2012 Ian Jackson
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
CFLAGS += -Wno-pointer-sign
endif
-ifeq ($(shell $(CC) -Wno-strict-aliasing -E -x c /dev/null >/dev/null || echo x),)
-CFLAGS += -Wno-strict-aliasing
+ifeq ($(shell $(CC) -fno-strict-aliasing -E -x c /dev/null >/dev/null || echo x),)
+CFLAGS += -fno-strict-aliasing
endif
CPPFLAGS += -I$(TCL_INCLUDEDIR) -I$(BASE_DIR)