From 110e1856c3641e20b503ee8e448964c5365b87d5 Mon Sep 17 00:00:00 2001 From: ngie Date: Sun, 28 Aug 2016 07:19:33 +0000 Subject: 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) --- usr.bin/tar/tests/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.bin/tar/tests/Makefile b/usr.bin/tar/tests/Makefile index c9b6072..86b6bac 100644 --- a/usr.bin/tar/tests/Makefile +++ b/usr.bin/tar/tests/Makefile @@ -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 -- cgit v1.1