From 1148cb85d9fc73e5cf67c477a1e08fd994961e60 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 8 Jul 2010 20:35:23 +0000 Subject: [PATCH] Reorder the CPP flags so -optP can override the platform defines --- compiler/main/DriverPipeline.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index ea6c933..9128538 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -1844,9 +1844,9 @@ doCpp dflags raw include_cc_opts input_fn output_fn = do cpp_prog ([SysTools.Option verb] ++ map SysTools.Option include_paths ++ map SysTools.Option hsSourceCppOpts + ++ map SysTools.Option target_defs ++ map SysTools.Option hscpp_opts ++ map SysTools.Option cc_opts - ++ map SysTools.Option target_defs ++ [ SysTools.Option "-x" , SysTools.Option "c" , SysTools.Option input_fn -- 1.7.10.4