mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fixed missing DPADDs.
Fixed some style bugs (some usual ones for LDADD, and misformatting of $FreeBSD$).
This commit is contained in:
parent
de97d66311
commit
9d08570309
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58676
@ -1,6 +1,5 @@
|
|||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
MAINTAINER= jdp
|
MAINTAINER= jdp
|
||||||
PROG= ld-elf.so.1
|
PROG= ld-elf.so.1
|
||||||
SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \
|
SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \
|
||||||
@ -28,11 +27,13 @@ LDSO_IS_EXECUTABLE= yes
|
|||||||
.ifdef LDSO_IS_EXECUTABLE
|
.ifdef LDSO_IS_EXECUTABLE
|
||||||
OBJS+= dyn_hack.so
|
OBJS+= dyn_hack.so
|
||||||
LDFLAGS+= -Wl,-T,${LDSCRIPT} -Wl,-E -Wl,-Bstatic
|
LDFLAGS+= -Wl,-T,${LDSCRIPT} -Wl,-E -Wl,-Bstatic
|
||||||
LDADD+= -lc
|
DPADD= ${LIBC}
|
||||||
|
LDADD= -lc
|
||||||
.else
|
.else
|
||||||
CFLAGS+= -fpic -DPIC
|
CFLAGS+= -fpic -DPIC
|
||||||
LDFLAGS+= -shared -Wl,-Bsymbolic
|
LDFLAGS+= -shared -Wl,-Bsymbolic
|
||||||
LDADD+= -lc_pic
|
DPADD= ${LIBC_PIC}
|
||||||
|
LDADD= -lc_pic
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
dyn_hack.so:
|
dyn_hack.so:
|
||||||
|
Loading…
Reference in New Issue
Block a user