chiark / gitweb /
warning disable ordering
authorian <ian>
Wed, 18 Oct 2006 16:01:45 +0000 (16:01 +0000)
committerian <ian>
Wed, 18 Oct 2006 16:01:45 +0000 (16:01 +0000)
base/common.make

index 2761b4ba8ad9cae880fe2d2b4c45cbd0ff117a2e..3415a56f474f6fb0b21fbf7014f4e546bfd5e0ac 100644 (file)
@@ -29,6 +29,9 @@ TCMDIFGEN ?=  $(BASE_DIR)/tcmdifgen
 BASE_TCT ?=    $(BASE_DIR)/base.tct
 BASE_SHLIB ?=  lib$(FAMILY)-$(VERSION)
 
 BASE_TCT ?=    $(BASE_DIR)/base.tct
 BASE_SHLIB ?=  lib$(FAMILY)-$(VERSION)
 
+CFLAGS +=      -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
+               $(OPTIMISE)
+
 ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),)
 CFLAGS +=      -Wno-pointer-sign
 endif
 ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),)
 CFLAGS +=      -Wno-pointer-sign
 endif
@@ -37,8 +40,6 @@ ifeq ($(shell $(CC) -Wno-strict-aliasing -E -x c /dev/null >/dev/null || echo x)
 CFLAGS +=      -Wno-strict-aliasing
 endif
 
 CFLAGS +=      -Wno-strict-aliasing
 endif
 
-CFLAGS +=      -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
-               $(OPTIMISE)
 CPPFLAGS +=    -I$(TCL_INCLUDEDIR) -I$(BASE_DIR)
 CPPFLAGS +=    $(TCL_MEM_DEBUG)
 
 CPPFLAGS +=    -I$(TCL_INCLUDEDIR) -I$(BASE_DIR)
 CPPFLAGS +=    $(TCL_MEM_DEBUG)