Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2016 19:05:01 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303804 - head/usr.bin/tar/tests
Message-ID:  <201608061905.u76J51sB037669@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608061905.u76J51sB037669>