diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-10-27 10:11:24 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-10-27 10:11:24 +0000 |
commit | 23d92c203a95142d6023f7853b040c7fd7b89bd3 (patch) | |
tree | 31402618ad4a6b4c39c87202107da6d26335e0ce /usr.bin/libtool | |
parent | 3965c34922321f72067d3fbe1fd2ebc69832dab0 (diff) |
mark elf architectures as well
Diffstat (limited to 'usr.bin/libtool')
-rwxr-xr-x | usr.bin/libtool/libtool | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/libtool/libtool b/usr.bin/libtool/libtool index 881422c630f..da30c77256b 100755 --- a/usr.bin/libtool/libtool +++ b/usr.bin/libtool/libtool @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: libtool,v 1.37 2012/07/11 08:33:45 espie Exp $ +# $OpenBSD: libtool,v 1.38 2012/10/27 10:11:23 espie Exp $ # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -64,6 +64,11 @@ sub new $self->{build_libtool_libs} = 'no'; $self->{noshared} = 0; } + if (grep { $_ eq $self->{machine_arch} } qw(m68k m88k vax)) { + $self->{elf} = 0; + } else { + $self->{elf} = 1; + } return $self; } |