This is only needed when linking and fixes various "unused command
line argument" warnings during the lib32 build.
While here, trim a redundant -L from the i386 LD variable.
Obtained from: CheriBSD
Differential D26068
Move -L${LIBCOMPATTMP}/usr/lib${libcompat} from CFLAGS to LDFLAGS. jhb on Aug 14 2020, 5:29 PM. Authored by Tags None Referenced Files
Details This is only needed when linking and fixes various "unused command While here, trim a redundant -L from the i386 LD variable. Obtained from: CheriBSD
Diff Detail
Event TimelineComment Actions If it passes universe then +1. I wonder if this was a workaround for bfd or just an old mistake. Comment Actions It looks like all of this (putting -L in CFLAGS and an explicit -L (originally a -Y) for the i386 LD all goes back to the original hacks Peter did for lib32 in rS137288. |