projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc2a0e6
)
Teach configure about amd64/NetBSD; fixes trac #2348
author
Ian Lynagh
<igloo@earth.li>
Fri, 6 Jun 2008 13:09:55 +0000
(13:09 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 6 Jun 2008 13:09:55 +0000
(13:09 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
8892ba0
..
a2e4e1d
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-170,6
+170,15
@@
amd64-*-freebsd*|x86_64-*-freebsd*)
HostVendor_CPP='unknown'
HostOS_CPP='freebsd'
;;
HostVendor_CPP='unknown'
HostOS_CPP='freebsd'
;;
+amd64-*-netbsd*|x86_64-*-netbsd*)
+ HostPlatform=x86_64-unknown-netbsd
+ TargetPlatform=x86_64-unknown-netbsd
+ BuildPlatform=x86_64-unknown-netbsd
+ HostPlatform_CPP='x86_64_unknown_netbsd'
+ HostArch_CPP='x86_64'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='netbsd'
+ ;;
arm*-linux*)
HostPlatform=arm-unknown-linux # hack again
TargetPlatform=arm-unknown-linux
arm*-linux*)
HostPlatform=arm-unknown-linux # hack again
TargetPlatform=arm-unknown-linux