Commit cd8da40c authored by Ben Gamari's avatar Ben Gamari 🐢

Drop dead wrapper logic for Darwin

parent e8a362a4
......@@ -4,14 +4,6 @@ tflag="--template=$topdir/template-hsc.h"
for arg do
case "$arg" in
# On OS X, we need to specify -m32 or -m64 in order to get gcc to
# build binaries for the right target. We do that by putting it in
# HSC2HS_EXTRA. When cabal runs hsc2hs, it passes a flag saying which
# gcc to use, so if we set HSC2HS_EXTRA= then we don't get binaries
# for the right platform. So for now we just don't set HSC2HS_EXTRA=
# but we probably want to revisit how this works in the future.
# -c*) HSC2HS_EXTRA=;;
# --cc=*) HSC2HS_EXTRA=;;
-t*) tflag=;;
--template=*) tflag=;;
--) break;;
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