Salvador Ortiz Garcia wrote:
In the ghc docs I found that "-Dsymbol=value" does not affect -D macros passed to the C compiler when compiling via C, the mode used when
optimization is on.
So the perl5 ccflags defined must be passed using -optc.
 [...]
-            $ccdlflags .= qq[ -optl "$_" ]
+            $ccdlflags .= (/^-D/ ? ' -optc' : ' -optl') . qq["$_" ]

Thanks, applied.

Would you like a committer invitation?

Sam.

Reply via email to