Page MenuHomeFreeBSD

aic7xxx: Fix re-building firmware with -fno-common
ClosedPublic

Authored by jrtc27 on May 28 2021, 2:34 PM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.May 28 2021, 3:57 PM
sys/dev/aic7xxx/aicasm/aicasm_gram.y
62

Once upon a time, this was defined in -ll.... Is that no longer the case? Or are we just not linking against that? If we're not, then this is likely the most correct fix.

sys/dev/aic7xxx/aicasm/aicasm_gram.y
62

lex itself injects the definition into the output, in this case for aicasm_scan.l's generated C. No extra libraries are linked in, only libc etc.