We no longer need to pass pgmc etc in the ghc.wrapper script
authorIan Lynagh <igloo@earth.li>
Fri, 29 Apr 2011 15:19:33 +0000 (16:19 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 29 Apr 2011 15:19:33 +0000 (16:19 +0100)
They can now be set in the settings file instead

ghc/ghc.wrapper
rules/shell-wrapper.mk

index 5003f9a..083a66d 100644 (file)
@@ -1 +1 @@
-exec "$executablename" -B"$topdir" -pgmc "$pgmgcc" -pgma "$pgmgcc" -pgml "$pgmgcc" -pgmP "$pgmgcc -E -undef -traditional" ${1+"$@"}
+exec "$executablename" -B"$topdir" ${1+"$@"}
index 6433957..5cc10dc 100644 (file)
@@ -74,7 +74,6 @@ install_$1_$2_wrapper:
        echo 'datadir="$$(datadir)"'                             >> "$$(WRAPPER)"
        echo 'bindir="$$(bindir)"'                               >> "$$(WRAPPER)"
        echo 'topdir="$$(topdir)"'                               >> "$$(WRAPPER)"
-       echo 'pgmgcc="$$(WhatGccIsCalled)"'                      >> "$$(WRAPPER)"
        $$($1_$2_SHELL_WRAPPER_EXTRA)
        $$($1_$2_INSTALL_SHELL_WRAPPER_EXTRA)
        cat $$($1_$2_SHELL_WRAPPER_NAME)                         >> "$$(WRAPPER)"