acpi: Narrow workaround for broken interrupt settings
[dragonfly.git] / lib / csu / Makefile
blobcca8f150d857ed50f482442c3eb70c516e611581
1 CSUDIR= ${.CURDIR}/${MACHINE_ARCH}
2 SED_FIX_NOTE= -i "" -e '/\.note\.tag/s/progbits/note/'
3 # Since gcc-8.2 (pr77609) gcc no longer emits @progbits for .note.tag section.
4 # If no section type was set, append @note type for legacy reasons.
5 SED_FIX_NOTE+= -e '/\.note\.tag.*"a"$$/s/$$/,@note/'
7 .include "${.CURDIR}/${MACHINE_ARCH}/Makefile.csu"
9 OBJS+= ${SRCS:M*.[cS]:R:C/$/.o/g}
11 all: ${OBJS}
13 realinstall:
14 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
15 ${OBJS} ${DESTDIR}${LIBDIR}
18 .include <bsd.lib.mk>