Age | Commit message (Collapse) | Author | Files |
|
4fe22eed50ce7c45da30b0efc6106b90281ff5f5 changed the CFLAGS bits to match the
makefiles, but bitbake.conf is what controls optimizations--recipes shouldn't
be forcing -O2, and -fpie can cause problems on some archs, and should be a
distro policy decision regardless.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
According to Mike Westerhof it is obsolete and can be removed:
http://patchwork.openembedded.org/patch/922/
|
|
with gcc-4.4 and provides the following:
| tmp/cross/mipsel/lib/gcc/mipsel-angstrom-linux/4.4.1/../../../../mipsel-angstrom-linux/bin/ld: portmap.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC
The CFLAGS in portmap's Makefile contains -fpie, but is ignored. The
CFLAGS I've added below are constructed from portmap's Makefile. When
built with gcc-4.3.3 the resultant binary no longer segfaults.
Signed-Off-By: Holger Hans Peter Freyther <zecke@selfish.org>
|
|
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|