diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2018-08-31 08:51:33 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2018-08-31 08:51:33 +0000 |
commit | 12c54d92690e99bd70feb75f83e092c3df9a6fba (patch) | |
tree | 1c817ea769886f1a334866f09422eb9d32a3009c /lang/ghc/files/patch-configure.ac | |
parent | games/monster-masher: Remove esound dependency (diff) |
lang/ghc: Add support for ARM arches: aarch64, armv6, armv7.
PR: 196899
Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
Reviewed by: arrowd, mat, tcberner
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D15674
Notes
Notes:
svn path=/head/; revision=478531
Diffstat (limited to 'lang/ghc/files/patch-configure.ac')
-rw-r--r-- | lang/ghc/files/patch-configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ghc/files/patch-configure.ac b/lang/ghc/files/patch-configure.ac index 5a4a978d08ba..4d19057acf95 100644 --- a/lang/ghc/files/patch-configure.ac +++ b/lang/ghc/files/patch-configure.ac @@ -1,11 +1,11 @@ ---- configure.ac.orig 2018-03-06 16:48:53 UTC +--- configure.ac.orig 2018-04-17 19:30:22 UTC +++ configure.ac @@ -447,6 +447,9 @@ XCODE_VERSION() dnl ** Building a cross compiler? dnl -------------------------------------------------------------- CrossCompiling=NO + -+build=`echo $build | sed -e 's/amd64-/x86_64-/g; s/-freebsd.*$/-freebsd/g'` ++build=`echo $build | sed -e 's/amd64-/x86_64-/g; s/armv[[67]]-/arm-/g; s/-freebsd.*$/-freebsd/g'` + # If 'host' and 'target' differ, then this means we are building a cross-compiler. if test "$TargetPlatform" != "$HostPlatform" ; then |