Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/Makefile
Show All 30 Lines | |||||
SHLIB_MAJOR= 7 | SHLIB_MAJOR= 7 | ||||
.if ${MK_SSP} != "no" | .if ${MK_SSP} != "no" | ||||
SHLIB_LDSCRIPT=libc.ldscript | SHLIB_LDSCRIPT=libc.ldscript | ||||
.else | .else | ||||
SHLIB_LDSCRIPT=libc_nossp.ldscript | SHLIB_LDSCRIPT=libc_nossp.ldscript | ||||
.endif | .endif | ||||
SHLIB_LDSCRIPT_LINKS=libxnet.so | SHLIB_LDSCRIPT_LINKS=libxnet.so | ||||
WARNS?= 2 | WARNS?= 2 | ||||
CFLAGS+=-I${LIBC_SRCTOP}/include -I${LIBC_SRCTOP}/../../include | CFLAGS+=-I${LIBC_SRCTOP}/include -I${SRCTOP}/include | ||||
emaste: Should this one be `${SRCTOP}/include`? It looks like we intend to allow compiling libc from a… | |||||
Done Inline ActionsAgreed. r262722 seems like it's done in the vein of standardizing SRCTOP/OBJTOP, but for a very specific purpose that could instead be solved via SRCTOP universally now. I CCed marcel though, just to be safe. I'll add sjg as well. ngie: Agreed. r262722 seems like it's done in the vein of standardizing SRCTOP/OBJTOP, but for a very… | |||||
CFLAGS+=-I${LIBC_SRCTOP}/${LIBC_ARCH} | CFLAGS+=-I${LIBC_SRCTOP}/${LIBC_ARCH} | ||||
.if ${MK_NLS} != "no" | .if ${MK_NLS} != "no" | ||||
CFLAGS+=-DNLS | CFLAGS+=-DNLS | ||||
.endif | .endif | ||||
CLEANFILES+=tags | CLEANFILES+=tags | ||||
INSTALL_PIC_ARCHIVE= | INSTALL_PIC_ARCHIVE= | ||||
PRECIOUSLIB= | PRECIOUSLIB= | ||||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |
Should this one be ${SRCTOP}/include? It looks like we intend to allow compiling libc from a different source location (i.e. LIBC_SCRTOP?= so referencing the system include via ${LIBC_SRCTOP} seems less desirable.