mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Configure static linkage in the normal way (default to -static using
NOSHARED?= yes). Split long lines.
This commit is contained in:
parent
2b7c05c611
commit
29fc5d6403
1 changed files with 6 additions and 4 deletions
|
|
@ -1,10 +1,12 @@
|
|||
# $Id$
|
||||
# $Id: Makefile,v 1.21 1997/02/22 15:46:17 peter Exp $
|
||||
#
|
||||
|
||||
PROG= ld
|
||||
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c cplus-dem.c
|
||||
CFLAGS += -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) -I$(GCCDIR) -DIN_GCC -DDEMANGLE_CPLUSPLUS
|
||||
LDFLAGS+= -Xlinker -Bstatic
|
||||
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
|
||||
cplus-dem.c
|
||||
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) \
|
||||
-I$(GCCDIR) -DIN_GCC -DDEMANGLE_CPLUSPLUS
|
||||
NOSHARED?= yes
|
||||
|
||||
GCCDIR= ${.CURDIR}/../../../contrib/gcc
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue