tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenBSD's default for OBJECT_FMT?

pkgsrc's has

.if ${OPSYS} == "OpenBSD"
.  if defined(ELF_TOOLCHAIN) && ${ELF_TOOLCHAIN} == "yes"
.  else
OBJECT_FMT?=    a.out
.  endif

now it seems that ELF_TOOLCHAIN is not set anywhere, so OBJECT_FMT on OpenBSD defaults to a.out, which is wrong in many cases (stumbled across it on a stock OpenBSD 4.4 i386 installation). How is the object format selection mechanism supposed to work on OpenBSD?

Georg Schwarz  +49 151 11559652

Home | Main Index | Thread Index | Old Index