chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
747c5b6
)
warning disable ordering
author
ian
<ian>
Wed, 18 Oct 2006 16:01:45 +0000
(16:01 +0000)
committer
ian
<ian>
Wed, 18 Oct 2006 16:01:45 +0000
(16:01 +0000)
base/common.make
patch
|
blob
|
history
diff --git
a/base/common.make
b/base/common.make
index 2761b4ba8ad9cae880fe2d2b4c45cbd0ff117a2e..3415a56f474f6fb0b21fbf7014f4e546bfd5e0ac 100644
(file)
--- a/
base/common.make
+++ b/
base/common.make
@@
-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)