summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-06 21:04:14 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-11-06 21:30:37 +0100
commit18c5c7404f06a00ac91795b045bb8253a322410c (patch)
tree666d65e22ea033c6490796f9d583abf20bfb3897 /docs/manual
parent3a6573ccee2624de0c604abf2c7df6704a4cf566 (diff)
downloadbuildroot-18c5c7404f06a00ac91795b045bb8253a322410c.tar.gz
buildroot-18c5c7404f06a00ac91795b045bb8253a322410c.zip
prosody: build with -fPIC
The prosody configure script defines CFLAGS as -fPIC -Wall, but because we pass our own CFLAGS, the -fPIC goes away, causing a build failure when building shared libraries on x86-64: /home/test/autobuild/run/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-amd-linux-gnu/6.2.0/../../../../x86_64-amd-linux-gnu/bin/ld: encodings.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC So let's pass this -fPIC flag explicitly in CFLAGS. We don't bother passing it conditionally !BR2_STATIC_LIBS because other packages (e.g lua) also pass -fPIC unconditionally. Fixes: http://autobuild.buildroot.net/results/7f0eb285b75cdeacb21a1f9a9f64d2f0cbbf1d59/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud