# -O is pretty desirable, otherwise no inlining of prelude
# things (incl "+") happens when compiling with this compiler
-ifeq "$(GhcWithHscBuiltViaC)" "YES"
GhcLibHcOpts=-O
-else
-GhcLibHcOpts=-O -split-objs -odir $*
-endif
# Win32 only: Enable the RTS and libraries to be built as DLLs
-#
+# Don't split object files for libs if we're building DLLs
EnableWin32DLLs=@EnableWin32DLLs@
+ifeq "($EnableWin32DLLs)" "YES"
+SplitObjs=NO
+else
+SplitObjs=YES
+endif
+
# Strip local symbols from libraries? This can make the libraries smaller,
# but makes debugging somewhat more difficult. Doesn't work with all ld's.
CPP = @CPP@
CTAGS = $(ETAGS)
RAWCPP = $(CPP) -undef -traditional
+FIND = @FindCmd@
INSTALL = @INSTALL@
#
# Sigh - the autoconf macro for INSTALL will subst a relative path to the fallback