diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2016-08-06 19:05:01 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2016-08-06 19:05:01 +0000 |
commit | 06fd1dab305c3e522c8dcc785fe206c0ca995b77 (patch) | |
tree | a0e6790223f25571fb1cf326e728a7ed1e84f27e /usr.bin | |
parent | a183d81dc9f985f94974a821886cd57bd784480f (diff) | |
download | src-06fd1dab305c3e522c8dcc785fe206c0ca995b77.tar.gz src-06fd1dab305c3e522c8dcc785fe206c0ca995b77.zip |
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
Notes
Notes:
svn path=/head/; revision=303804
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tar/tests/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/tar/tests/Makefile b/usr.bin/tar/tests/Makefile index c9b6072b2b69..86b6bac22e7b 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 |