diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-29 10:18:19 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-29 22:18:10 +0200 |
commit | c19c6451413ed873eccf321e7f79cea1f78aa95d (patch) | |
tree | 21718e88010d1cf3e3d5509a5350707e156c15bf /package/dmalloc/dmalloc.mk | |
parent | 0eae20b7be89bc76225a15c7238ff0c809259ac3 (diff) | |
download | buildroot-novena-c19c6451413ed873eccf321e7f79cea1f78aa95d.tar.gz buildroot-novena-c19c6451413ed873eccf321e7f79cea1f78aa95d.zip |
dmalloc: pass -fPIC when compiling
This is needed to avoid:
/home/test/mips-4.4/bin/mips-linux-gnu-ld --sysroot=/home/test/outputs/test-35/staging -shared --whole-archive -soname libdmallocxx.so -o libdmallocxx.so.t libdmallocxx.a
/home/test/mips-4.4/bin/mips-linux-gnu-ld: libdmalloc.a(arg_check.o): relocation R_MIPS_HI16 against `_dmalloc_flags' can not be used when making a shared object; recompile with -fPIC
It is fixed through a patch to Makefile.in instead of passing a CFLAGS
variable to ./configure environment in order to avoid cluttering the
configuration cache with incorrect values.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dmalloc/dmalloc.mk')
0 files changed, 0 insertions, 0 deletions