Changeset View
Changeset View
Standalone View
Standalone View
lib/libthr/Makefile
Show All 10 Lines | |||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
MK_BIND_NOW= no | MK_BIND_NOW= no | ||||
MK_SSP= no | MK_SSP= no | ||||
LIB=thr | LIB=thr | ||||
SHLIB_MAJOR= 3 | SHLIB_MAJOR= 3 | ||||
NO_WTHREAD_SAFETY=1 | NO_WTHREAD_SAFETY=1 | ||||
NO_WCAST_ALIGN.gcc=1 # for gcc 4.2 | NO_WCAST_ALIGN.gcc=1 # for gcc 4.2 | ||||
.if ${MACHINE_ARCH} == "powerpc64" | |||||
NO_WCAST_ALIGN.clang=1 # for clang 8 | |||||
.endif | |||||
emaste: I think it would be good to also include a comment about why we know the alignment is not a… | |||||
alfredoAuthorUnsubmitted Done Inline ActionsActually I'm not sure if it's not an issue. I was assuming it's not because this Makefile already contains the following lines: NO_WCAST_ALIGN.gcc=1 # for gcc 4.2 alfredo: Actually I'm not sure if it's not an issue. I was assuming it's not because this Makefile… | |||||
CFLAGS+=-DPTHREAD_KERNEL | CFLAGS+=-DPTHREAD_KERNEL | ||||
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}/thread \ | CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}/thread \ | ||||
-I${SRCTOP}/include | -I${SRCTOP}/include | ||||
CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include | CFLAGS+=-I${.CURDIR}/arch/${MACHINE_CPUARCH}/include | ||||
CFLAGS+=-I${.CURDIR}/sys | CFLAGS+=-I${.CURDIR}/sys | ||||
CFLAGS+=-I${SRCTOP}/libexec/rtld-elf | CFLAGS+=-I${SRCTOP}/libexec/rtld-elf | ||||
CFLAGS+=-I${SRCTOP}/libexec/rtld-elf/${MACHINE_CPUARCH} | CFLAGS+=-I${SRCTOP}/libexec/rtld-elf/${MACHINE_CPUARCH} | ||||
CFLAGS+=-I${SRCTOP}/lib/libthread_db | CFLAGS+=-I${SRCTOP}/lib/libthread_db | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |
I think it would be good to also include a comment about why we know the alignment is not a practical issue.