mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
FBSD: Fallback to $CC for assembler
FreeBSD 13 no longer ships with a standalone assembler (e.g. /usr/bin/as). But clang can be used as an assembler, so just set AS to $CC if we don't find an assembler. Change-Id: I2a30e9ca8a3e2c200a5495e2f996bee27cbb2328 Reviewed-on: https://gerrit.openafs.org/15161 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Reviewed-by: Andrew Deason <adeason@sinenomine.net>
This commit is contained in:
parent
407eadbcd7
commit
1435b686a9
@ -522,6 +522,14 @@ case $AFS_SYSNAME in
|
|||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AS_CASE([$AFS_SYSNAME],
|
||||||
|
[*_fbsd_*],
|
||||||
|
dnl FreeBSD 13+ no longer provides a standalone /usr/bin/as in
|
||||||
|
dnl the base system, but we can use the compiler (clang) as an
|
||||||
|
dnl assembler.
|
||||||
|
[AS_IF([test x"$AS" = xfalse],
|
||||||
|
[AS="$CC"])])
|
||||||
|
|
||||||
MT_CFLAGS="${MT_CFLAGS} -DAFS_PTHREAD_ENV"
|
MT_CFLAGS="${MT_CFLAGS} -DAFS_PTHREAD_ENV"
|
||||||
|
|
||||||
AFS_LT_INIT
|
AFS_LT_INIT
|
||||||
|
Loading…
Reference in New Issue
Block a user