chiark / gitweb /
copyright dates
[chiark-tcl.git] / base / common.make
index 3415a56f474f6fb0b21fbf7014f4e546bfd5e0ac..5314aacf120bb5a75785650003b005546710aed0 100644 (file)
@@ -1,5 +1,5 @@
 # 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
@@ -36,8 +36,8 @@ 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-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)