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 2761b4b..3415a56 100644 (file)
@@ -29,6 +29,9 @@ TCMDIFGEN ?=  $(BASE_DIR)/tcmdifgen
 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
@@ -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 +=      -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
-               $(OPTIMISE)
 CPPFLAGS +=    -I$(TCL_INCLUDEDIR) -I$(BASE_DIR)
 CPPFLAGS +=    $(TCL_MEM_DEBUG)