diff options
author | wiz <wiz@pkgsrc.org> | 2017-09-10 17:11:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-09-10 17:11:47 +0000 |
commit | 2b4f7e116a95ac9c491345f1a2bfd3ebab31a158 (patch) | |
tree | 9f61f878f84df70edc4122c776000724d4072fce /www | |
parent | 634e925b2f0693786c946108afeed4464b8eea1d (diff) | |
download | pkgsrc-2b4f7e116a95ac9c491345f1a2bfd3ebab31a158.tar.gz |
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.
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions