Fix building usr.bin/tar/tests with PIE symbol building enabled by

removing CFLAGS+= -static

`CFLAGS+= -static` was a carryover from pre-r289195 with
usr.bin/tar/test/Makefile that should have been specified in LDFLAGS
There doesn't seem to be an apparent need for static compilation
of the test binaries.

Differential Revision:	https://reviews.freebsd.org/D7430
MFC after:	1 week
Obtained-from:	opBSD (418a491eed20d2603ddd1f1bd92c2c0d95094002)
Submitted by:	op
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-08-06 19:05:01 +00:00
parent a183d81dc9
commit 06fd1dab30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303804

View File

@ -9,7 +9,6 @@ ATF_TESTS_SH+= functional_test
BINDIR= ${TESTSDIR}
CFLAGS+= -DPLATFORM_CONFIG_H=\"${SRCTOP}/lib/libarchive/config_freebsd.h\"
CFLAGS+= -static
CFLAGS+= -I${SRCTOP}/lib/libarchive -I${.OBJDIR}
CFLAGS+= -I${_LIBARCHIVEDIR}/tar -I${_LIBARCHIVEDIR}/test_utils