c3db1c6939
make weak symbol references and namespace renames references the renamed versions. function renaming, weak symbol references and libc namespace.h protection interact in hairy ways and causes weak symbol references for renamed functions to be unresolved; e.g. vfork should be an alias for _vfork but _vfork doesn't exist because __vfork14() exists. this is a problem for dynamically linked executables as all symbols have to be resolved, used or not, at link time. it was masked by clang-compiled base system libraries but is a problem when gcc does it.
19 lines
385 B
Makefile
19 lines
385 B
Makefile
# $NetBSD: Makefile,v 1.8 2007/11/05 13:41:52 pooka Exp $
|
|
|
|
USE_FORT?= no # data driven bugs?
|
|
|
|
LIB= refuse
|
|
LIBDPLIBS+= puffs ${.CURDIR}/../libpuffs
|
|
|
|
.ifdef DEBUG
|
|
FUSE_OPT_DEBUG_FLAGS= -g -DFUSE_OPT_DEBUG
|
|
.endif
|
|
|
|
CFLAGS+= ${FUSE_OPT_DEBUG_FLAGS}
|
|
SRCS= refuse.c refuse_opt.c
|
|
MAN= refuse.3
|
|
WARNS= 4
|
|
INCS= fuse.h fuse_opt.h
|
|
INCSDIR= /usr/include
|
|
|
|
.include <bsd.lib.mk>
|