1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-24 04:23:53 +03:00

r15224: Check whether -MT is actually supported by the compiler before using

automatic dependencies
(This used to be commit 6598efc6b3)
This commit is contained in:
Jelmer Vernooij
2006-04-24 22:50:19 +00:00
committed by Gerald (Jerry) Carter
parent 82f1955314
commit 847e80dee9
3 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
#endif
#ifndef PRINTF_ATTRIBUTE
#if !defined(NO_PRINTF_ATTRIBUTE) && (__GNUC__ >= 3)
#if __GNUC__ >= 3
/** Use gcc attribute to check printf fns. a1 is the 1-based index of
* the parameter containing the format, and a2 the index of the first
* argument. Note that some gcc 2.x versions don't handle this