svn commit: r303804 - head/usr.bin/tar/tests
Garrett Cooper
ngie at FreeBSD.org
Sat Aug 6 19:05:02 UTC 2016
Author: ngie
Date: Sat Aug 6 19:05:01 2016
New Revision: 303804
URL: https://svnweb.freebsd.org/changeset/base/303804
Log:
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
Modified:
head/usr.bin/tar/tests/Makefile
Modified: head/usr.bin/tar/tests/Makefile
==============================================================================
--- head/usr.bin/tar/tests/Makefile Sat Aug 6 18:48:47 2016 (r303803)
+++ head/usr.bin/tar/tests/Makefile Sat Aug 6 19:05:01 2016 (r303804)
@@ -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
More information about the svn-src-head
mailing list