meta-openembedded/meta-oe/recipes-connectivity/linuxptp
Otavio Salvador f52c0d42f4 linuxptp: Use environment compiler settings
If the machine uses hard floating point, the build fails as below:

arm-oel-linux-gnueabi-gcc -Wall ...
In file included from .../build/tmp/sysroots/imx6qsabresd/usr/include/features.h:402:0,
                 from .../build/tmp/sysroots/imx6qsabresd/usr/include/errno.h:28,
                 from clock.c:19:
.../build/tmp/sysroots/imx6qsabresd/usr/include/gnu/stubs.h:7:29:
    fatal error: gnu/stubs-soft.h: No such file or directory
 # include <gnu/stubs-soft.h>

This patch fixes the build system to reuse the CC variable and also
passes over the defined CFLAGS so the choosen optimization and build
options are respected.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 15:02:28 +02:00
..
linuxptp linuxptp: Use environment compiler settings 2014-07-15 15:02:28 +02:00
linuxptp_1.4.bb linuxptp: Use environment compiler settings 2014-07-15 15:02:28 +02:00