Add -static to CFLAGS to unbreak the tests by using a libc.a with

the xlocale private symbols exposed which aren't exposed publicly
via the DSO

PR: 191354
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-12-13 06:33:52 +00:00
parent 3a757adfa8
commit 1385475525
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292153

View File

@ -8,7 +8,7 @@
PATHS= ${.CURDIR}/.. ${.CURDIR}/../../locale ${.CURDIR}/../../../../include
.PATH: ${PATHS}
CFLAGS+= -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
.for incpath in ${PATHS}
CFLAGS+= -I${incpath}
.endfor