Files
buildroot/package
Gaël PORTAY 088f261dbb leveldb: generate pic for static libraries
The project's static libraries are not compiled with the -fPIC compiler
flag. This prevents dynamic libraries to link against those libraries.

This commit adds a patch that sets the -fPIC compiler flag to the list of
CFLAGS/CXXFLAGS.

The project now generates position independant code for all of its
outputs (i.e. not limited anymore to its shared libraries).

Fixes:

	/home/gportay/src/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-amd-linux-gnu/6.2.0/../../../../x86_64-amd-linux-gnu/bin/ld: /home/gportay/src/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libmemenv.a(memenv.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
	/home/gportay/src/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libmemenv.a: error adding symbols: Bad value
	collect2: error: ld returned 1 exit status

Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>
[Arnout: renumber patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-03-07 22:45:49 +01:00
..
2019-01-12 18:08:12 +01:00
2019-01-28 10:00:22 +01:00
2019-02-04 16:58:17 +01:00
2019-01-15 21:21:25 +01:00
2018-12-13 21:19:33 +01:00
2018-12-03 23:08:20 +01:00
2019-02-11 22:26:48 +01:00
2018-11-29 22:39:00 +01:00
2019-02-23 14:39:20 +01:00
2018-12-02 08:16:10 +01:00
2019-01-23 10:51:03 +01:00
2019-02-12 20:21:33 +01:00
2019-01-06 21:09:12 +01:00
2019-03-07 21:38:07 +01:00
2018-12-14 21:52:53 +01:00
2019-01-20 21:54:22 +01:00
2018-11-29 17:18:31 +01:00
2019-02-26 13:09:27 +01:00
2019-02-06 16:31:06 +01:00
2019-01-15 21:15:50 +01:00
2019-02-05 17:14:01 +01:00
2019-03-05 10:59:38 +01:00
2019-03-05 10:59:38 +01:00
2019-01-22 21:48:43 +01:00
2018-12-14 21:53:00 +01:00
2019-01-28 22:05:52 +01:00
2019-01-28 23:01:09 +01:00
2018-12-14 21:28:48 +01:00
2019-03-05 10:59:38 +01:00
2018-12-31 14:14:22 +01:00
2019-01-15 21:21:48 +01:00
2019-01-28 22:06:07 +01:00
2018-12-02 08:16:10 +01:00
2018-12-08 23:38:33 +01:00
2018-12-02 08:16:10 +01:00
2019-01-16 16:01:59 +01:00
2019-01-20 20:15:32 +01:00
2019-02-11 21:37:42 +01:00
2019-02-12 20:08:45 +01:00
2019-01-22 21:49:58 +01:00
2018-12-09 17:38:50 +01:00
2019-02-12 11:17:09 +01:00
2019-01-13 21:51:02 +01:00
2019-01-16 20:00:19 +01:00
2019-02-21 00:17:22 +01:00
2019-02-12 20:13:40 +01:00
2018-12-09 17:38:50 +01:00
2018-12-02 08:16:10 +01:00
2019-01-23 22:50:35 +01:00
2019-01-14 21:51:33 +01:00
2019-01-01 21:08:04 +01:00
2019-02-04 09:54:46 +01:00
2019-02-12 11:16:24 +01:00
2019-02-05 13:17:44 +01:00
2019-01-17 15:51:24 +01:00
2019-01-20 20:17:43 +01:00
2019-01-19 23:14:28 +01:00
2019-01-01 21:09:09 +01:00
2019-02-04 18:05:01 +01:00
2019-02-02 22:33:06 +01:00
2018-12-03 13:30:29 +01:00
2019-01-27 11:22:35 +01:00
2019-01-27 11:23:16 +01:00
2018-12-16 16:39:59 +01:00
2019-02-06 15:41:12 +01:00
2019-01-27 20:11:49 +01:00
2019-03-05 10:59:38 +01:00
2019-02-06 15:43:47 +01:00
2019-03-05 10:59:38 +01:00
2018-12-02 08:16:10 +01:00
2019-02-06 15:44:24 +01:00
2019-01-12 18:26:20 +01:00
2019-02-06 12:56:26 +01:00
2019-02-22 22:23:34 +01:00
2018-12-10 22:14:05 +01:00
2018-12-27 16:35:55 +01:00
2019-01-08 21:09:15 +01:00
2019-01-16 13:09:21 +01:00
2019-01-16 21:20:57 +01:00
2018-12-10 22:15:51 +01:00
2019-01-20 21:03:48 +01:00
2018-12-27 16:35:53 +01:00
2019-01-24 10:46:12 +01:00
2019-01-19 22:40:18 +01:00
2019-02-24 21:23:41 +01:00
2019-02-04 16:35:51 +01:00
2019-01-27 10:44:12 +01:00
2018-12-08 23:00:33 +01:00
2019-01-14 22:05:56 +01:00
2019-01-15 21:22:02 +01:00
2019-02-11 09:12:15 +01:00
2019-01-08 16:12:29 +01:00
2019-03-05 10:59:38 +01:00
2019-01-27 20:13:20 +01:00
2019-02-17 23:01:11 +01:00
2019-02-06 12:56:26 +01:00
2018-12-02 08:16:10 +01:00