This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: VxWorks Patches Back from the Dead!
Hi Robert,
If you are going to defer, then:
On Fri, Aug 24, 2012 at 1:20 PM, rbmj <rbmj@verizon.net> wrote:
> diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in
> index e73aed9..de7be35 100755
> --- a/fixincludes/fixinc.in
> +++ b/fixincludes/fixinc.in
> @@ -128,6 +128,18 @@ fi
>
> # # # # # # # # # # # # # # # # # # # # #
> #
> +# Check to see if the machine_name fix needs to be disabled.
> +#
> +
> +case "${target_canonical}" in
> + *-*-vxworks*)
> + machine_name_override="OVERRIDE"
^^^^ replace this line with:
test -f ${MACRO_LIST} && rm -f ${MACRO_LIST}
The remaining part of the patch to this file is not necessary.
> + ;;
> +esac
> Yes, my earlier solution wasn't quite the simplest. Driving the screw with
> the proverbial golden hammer...
Boy I'm glad I never do that... :( ')
Cheers - Bruce