Commit 1d8585bc authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't automatically insert a -fvia-C flag in an unregisterised compiler

The default object mode is already HscC, so it's unnecessary, and
-fvia-C generates a deprecated flag warning now.
parent 51823541
......@@ -201,8 +201,7 @@ unregFlags = map (mkGeneralLocated "in unregFlags")
[ "-optc-DNO_REGS"
, "-optc-DUSE_MINIINTERPRETER"
, "-fno-asm-mangling"
, "-funregisterised"
, "-fvia-C" ]
, "-funregisterised" ]
-----------------------------------------------------------------------------
-- convert sizes like "3.5M" into integers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment