diff options
author | Robert Mason <rbmj@verizon.net> | 2012-10-28 21:42:48 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2012-10-28 21:42:48 +0000 |
commit | 1d5d667b3bbbdd78d86bbe3c7a0282d9ed5802c5 (patch) | |
tree | 7d5c98bf9a4ea92de54f98957c559ebffa468281 /fixincludes/fixinc.in | |
parent | c5cd5a7ed3f3a476ed17f2449598e6309cf7956c (diff) | |
download | gcc-1d5d667b3bbbdd78d86bbe3c7a0282d9ed5802c5.zip gcc-1d5d667b3bbbdd78d86bbe3c7a0282d9ed5802c5.tar.gz gcc-1d5d667b3bbbdd78d86bbe3c7a0282d9ed5802c5.tar.bz2 |
vxworks fixups
From-SVN: r192898
Diffstat (limited to 'fixincludes/fixinc.in')
-rwxr-xr-x | fixincludes/fixinc.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in index e73aed9..f7b8d8f 100755 --- a/fixincludes/fixinc.in +++ b/fixincludes/fixinc.in @@ -128,6 +128,22 @@ fi # # # # # # # # # # # # # # # # # # # # # # +# Check to see if the machine_name fix needs to be disabled. +# +# On some platforms, machine_name doesn't work properly and +# breaks some of the header files. Since everything works +# properly without it, just wipe the macro list to +# disable the fix. + +case "${target_canonical}" in + *-*-vxworks*) + test -f ${MACRO_LIST} && echo > ${MACRO_LIST} + ;; +esac + + +# # # # # # # # # # # # # # # # # # # # # +# # In the file macro_list are listed all the predefined # macros that are not in the C89 reserved namespace (the reserved # namespace is all identifiers beginnning with two underscores or one |