NetBSD/lib/libc/misc/Makefile.inc
ad ec4d182d4a - stack_protector.c doesn't really belong under sys/. Add a new directory
for misc support routines and put it there.
- Add a libc constructor. Use this to initialize threading and the
  stack protector stuff. libpthread cannot be initialized safely using
  its own constructor because libc and libpthread are deeply intertwined.
  PR bin/37347
2007-11-13 15:21:19 +00:00

11 lines
209 B
Makefile

# $NetBSD: Makefile.inc,v 1.1 2007/11/13 15:21:20 ad Exp $
# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
.PATH: ${.CURDIR}/misc
# constructor
SRCS+= initfini.c
# for -fstack-protector
SRCS+= stack_protector.c