From bfe4ffacf35ea4d21bd836025525e5533b511b5b Mon Sep 17 00:00:00 2001 From: Matthew Pickering <matthewtpickering@gmail.com> Date: Tue, 8 Aug 2023 15:32:47 +0100 Subject: [PATCH] CPP_ARGS: Put new options after user specified options This matches up with the behaviour of ghc-toolchain, so that the output of both matches. --- m4/fp_cpp_cmd_with_args.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/fp_cpp_cmd_with_args.m4 b/m4/fp_cpp_cmd_with_args.m4 index f80626727048..eebeeb203f88 100644 --- a/m4/fp_cpp_cmd_with_args.m4 +++ b/m4/fp_cpp_cmd_with_args.m4 @@ -51,7 +51,7 @@ AC_ARG_WITH(cpp-flags, [ # Augment CPP_ARGS with whatever flags were previously configured and passed # as an argument. - CPP_ARGS="$CPP_ARGS $$3" + CPP_ARGS="$$3 $CPP_ARGS" ]) $2="$CPP_CMD" -- GitLab