Subject: CVS commit: pkgsrc/security/tor-browser
From: Thomas Klausner
Date: 2017-09-10 19:11:47
Message id: 20170910171147.D204FFA98@cvs.NetBSD.org

Log Message:
Add -fPIC to CFLAGS.

Fixes SSP build, which otherwise breaks in configure:

cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not \ 
for C
ld: /var/tmp//ccfWqlYy.o: warning: relocation against `__stack_chk_fail' in \ 
readonly section `.text.startup'
ld: /var/tmp//ccfWqlYy.o: relocation R_X86_64_PC32 against symbol \ 
`__stack_chk_fail' can not be used when making a shared object; recompile with \ 
-fPIC
ld: final link failed: Bad value
configure: failed program was:
#line 10722 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure: error: --enable-pie requires PIE support from the linker.

Files:
RevisionActionfile
1.19modifypkgsrc/security/tor-browser/Makefile