Add a function to change DynFlags to be suitable for compiling for way=dynamic
authorIan Lynagh <ian@well-typed.com>
Sat, 8 Dec 2012 19:03:00 +0000 (19:03 +0000)
committerIan Lynagh <ian@well-typed.com>
Sat, 8 Dec 2012 19:03:00 +0000 (19:03 +0000)
commit0c4a9f38637dfc3bc8fd48e8ba6bf64da51b727b
treedfd2e1aa91ef10a2e047434d7ddaf451645a9162
parente5182b7c8c7466a81de6d82d99e7d272b968691b
Add a function to change DynFlags to be suitable for compiling for way=dynamic

Will be used when we are compiling with -dynamic-too. This needed a
little refactoring of the "addWay" code to allow the code to be shared.
compiler/main/DynFlags.hs