This mirrors what we do for C code.
PR: 286975
Differential D50466
share/mk: pass SHARED_CFLAGS to PIC and PIE from assembly brooks on Thu, May 22, 3:02 PM. Authored by Tags None Referenced Files
Details This mirrors what we do for C code. PR: 286975
Diff Detail
Event TimelineComment Actions I wish we had these documented somewhere, so we could include a note that ${SHARED_CFLAGS} (along with ${CFLAGS} and ${PIEO_CFLAGS}/${PICO_CFLAGS} etc.). I see three SHARED_CFLAGS references: in lib/libc/sys/Makefile.inc (noted in the PR), share/mk/bsd.sanitizer.mk, and lib/libarchive/Makefile.inc. I'm not sure why libarchive's addition of ICONV-related flags are in SHARED_CFLAGS not CFLAGS. |