svn commit: r226519 - head/gnu/usr.bin/cc/cc_tools

Alexander Best arundel at freebsd.org
Tue Oct 18 18:08:41 UTC 2011


On Tue Oct 18 11, Dimitry Andric wrote:
> Author: dim
> Date: Tue Oct 18 17:38:25 2011
> New Revision: 226519
> URL: http://svn.freebsd.org/changeset/base/226519
> 
> Log:
>   Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10.

should these also be updated to 9? maybe before it gets released?

cheers.
alex

> 
> Modified:
>   head/gnu/usr.bin/cc/cc_tools/freebsd-native.h
> 
> Modified: head/gnu/usr.bin/cc/cc_tools/freebsd-native.h
> ==============================================================================
> --- head/gnu/usr.bin/cc/cc_tools/freebsd-native.h	Tue Oct 18 17:37:18 2011	(r226518)
> +++ head/gnu/usr.bin/cc/cc_tools/freebsd-native.h	Tue Oct 18 17:38:25 2011	(r226519)
> @@ -7,8 +7,8 @@
>  #define FREEBSD_NATIVE 1
>  
>  /* Fake out gcc/config/freebsd<version>.h.  */
> -#define	FBSD_MAJOR	8
> -#define	FBSD_CC_VER	800001		/* form like __FreeBSD_version */
> +#define	FBSD_MAJOR	10
> +#define	FBSD_CC_VER	1000001		/* form like __FreeBSD_version */
>  
>  #undef SYSTEM_INCLUDE_DIR		/* We don't need one for now. */
>  #undef TOOL_INCLUDE_DIR			/* We don't need one for now. */


More information about the svn-src-all mailing list