svn commit: r304951 - stable/11/usr.bin/tar/tests

Garrett Cooper ngie at FreeBSD.org
Sun Aug 28 07:19:34 UTC 2016


Author: ngie
Date: Sun Aug 28 07:19:33 2016
New Revision: 304951
URL: https://svnweb.freebsd.org/changeset/base/304951

Log:
  MFC r303804:
  
  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.
  
  Obtained-from:	opBSD (418a491eed20d2603ddd1f1bd92c2c0d95094002)

Modified:
  stable/11/usr.bin/tar/tests/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/tar/tests/Makefile
==============================================================================
--- stable/11/usr.bin/tar/tests/Makefile	Sun Aug 28 07:17:25 2016	(r304950)
+++ stable/11/usr.bin/tar/tests/Makefile	Sun Aug 28 07:19:33 2016	(r304951)
@@ -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-all mailing list