Go to file
Thomas Petazzoni 18c5c7404f 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>
2017-11-06 21:30:37 +01:00
arch
board board/pc: add documentation for testing with qemu 2017-10-22 16:29:07 +02:00
boot uboot: use local libfdt.h 2017-11-06 21:25:31 +01:00
configs orange-pi-one: bump kernel and uboot versions 2017-11-06 11:43:10 +01:00
docs docs: update DEVELOPERS modification process 2017-11-05 21:13:58 +01:00
fs fs: add missing $$(sep) to pre- and post-command hooks code 2017-11-05 17:52:27 +01:00
linux linux: bump default to version 4.13.11 2017-11-02 22:12:57 +01:00
package prosody: build with -fPIC 2017-11-06 21:30:37 +01:00
support suport/download: force svn to be non-interactive 2017-11-05 21:16:51 +01:00
system
toolchain toolchain/wrapper: fake __DATE_ and __TIME__ for older gcc 2017-10-22 16:10:37 +02:00
utils
.defconfig
.flake8
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: use gitlab 9.0 varaible names 2017-11-05 15:53:46 +01:00
.gitlab-ci.yml.in .gitlab-ci.yml: use gitlab 9.0 varaible names 2017-11-05 15:53:46 +01:00
CHANGES CHANGES: update with recent libssh2 changes 2017-11-06 18:44:15 +01:00
Config.in toolchain/wrapper: fake __DATE_ and __TIME__ for older gcc 2017-10-22 16:10:37 +02:00
Config.in.legacy rfkill: remove package 2017-11-03 17:21:14 +01:00
COPYING
DEVELOPERS python-websockets: new package 2017-11-04 10:31:58 +01:00
Makefile core/reproducible: do not override SOURCE_DATE_EPOCH 2017-11-05 11:43:19 +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