mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
18 lines
598 B
Diff
18 lines
598 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -437,7 +437,11 @@
|
|
else
|
|
CrossCompilePrefix=""
|
|
fi
|
|
-TargetPlatformFull="${TargetPlatform}"
|
|
+# Despite its similarity in name to TargetPlatform, TargetPlatformFull is used
|
|
+# in calls to subproject configure scripts and thus must be set to the autoconf
|
|
+# triple, not the normalized GHC triple that TargetPlatform is set to.
|
|
+# It may be better to just do away with the GHC triples all together.
|
|
+TargetPlatformFull="${target}"
|
|
AC_SUBST(CrossCompiling)
|
|
AC_SUBST(CrossCompilePrefix)
|
|
AC_SUBST(TargetPlatformFull)
|
|
|