Commit f95ced26 authored by Ian Lynagh's avatar Ian Lynagh

Tweak the HC_OPTS generation

libraries/base/GHC/Base_HC_OPTS wasn't getting included, because we
were using libraries/base/./GHC/Base.lhs as the path, and the ./
meant we got the wrong filename.

I didn't use $(realpath ...) as the .hs file may be generated by hsc2hs
or similar, so may not exist when the HC_OPTS are constructed.
parent 1d15ada4
......@@ -105,7 +105,7 @@ $1_$2_$3_MOST_HC_OPTS = \
$$($1_$2_MORE_HC_OPTS) \
$$($1_$2_EXTRA_HC_OPTS) \
$$($1_$2_$3_HC_OPTS) \
$$($$(basename $$<)_HC_OPTS) \
$$($$(basename $$(subst ./,,$$<))_HC_OPTS) \
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