Go to file
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
arch
board Merge branch 'next' 2019-03-05 10:59:38 +01:00
boot boot/optee-os: define a new variable OPTEE_OS_SDK 2019-03-05 21:51:23 +01:00
configs Merge branch 'next' 2019-03-05 10:59:38 +01:00
docs docs/website: download.html: correct version number in title 2019-03-07 10:25:55 +01:00
fs
linux {linux, linux-headers}: bump 4.{4, 9, 14, 19, 20}.x series 2019-02-27 14:38:41 +01:00
package leveldb: generate pic for static libraries 2019-03-07 22:45:49 +01:00
support Update for 2019.02 2019-03-04 22:49:56 +01:00
system system: allow selecting merged /usr along with custom rootfs skeleton 2019-02-06 17:11:38 +01:00
toolchain
utils utils/scanpypi: handle underscores in python packages 2019-03-01 12:37:48 +01:00
.defconfig
.flake8
.gitignore
.gitlab-ci.yml Merge branch 'next' 2019-03-05 10:59:38 +01:00
.gitlab-ci.yml.in
CHANGES Update for 2019.02 2019-03-04 22:49:56 +01:00
Config.in
Config.in.legacy package/gst-plugins-bad: remove apexsink support 2019-03-07 22:32:18 +01:00
COPYING
DEVELOPERS Merge branch 'next' 2019-03-05 10:59:38 +01:00
Makefile Kickoff 2019.05 cycle 2019-03-05 10:03:32 +01:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches