diff options
author | escoffon <escoffon> | 1998-07-22 13:39:28 (GMT) |
---|---|---|
committer | escoffon <escoffon> | 1998-07-22 13:39:28 (GMT) |
commit | 4b30f059a8862f77079033a74b10f2522d7cc460 (patch) | |
tree | 0bb268e0d60763ccab65baf89734e7825afdfa38 /unix/Makefile.in | |
parent | 4f44a7f538df22b28f9c746b923dc6458bace717 (diff) | |
download | tk-4b30f059a8862f77079033a74b10f2522d7cc460.zip tk-4b30f059a8862f77079033a74b10f2522d7cc460.tar.gz tk-4b30f059a8862f77079033a74b10f2522d7cc460.tar.bz2 |
Added support for specifying warning flags for the compiler, with checks
for gcc and appropriate defaults.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 63a56a5..0b3989d 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -84,6 +84,9 @@ TCL_BIN_DIR = @TCL_BIN_DIR@ # Libraries built with optimization switches have this additional extension DBGX = @DBGX@ +# warning flags +CFLAGS_WARNING = @CFLAGS_WARNING@ + # The default switches for optimization or debugging CFLAGS_DEBUG = @CFLAGS_DEBUG@ CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ @@ -200,7 +203,8 @@ TOOL_DIR = @TCL_SRC_DIR@/tools CC = @CC@ -CC_SWITCHES = ${CFLAGS} ${TK_SHLIB_CFLAGS} -I${UNIX_DIR} -I${GENERIC_DIR} \ +CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${TK_SHLIB_CFLAGS} \ +-I${UNIX_DIR} -I${GENERIC_DIR} \ -I${BMAP_DIR} -I${TCL_GENERIC_DIR} ${X11_INCLUDES} ${AC_FLAGS} ${PROTO_FLAGS} \ ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS} |