efe3f631f2
Cross compilers from latest yocto (dizzy) are no longer built with default value for mfloat-abi, which means it needs to be given for both compiler and linker to produce correct binaries. Otherwise linker will selected dynamic linker as /lib/ld-linux.so.3, instead of /lib/ld-linux-armhf.so.3 when compiling for hard-float. Change-Id: I2fe116b1a90a0fbd078a4e8757abd4bc64a7b56e Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
10 lines
240 B
Plaintext
10 lines
240 B
Plaintext
contains(DISTRO_OPTS, hard-float) {
|
|
COMPILER_FLAGS += -mfloat-abi=hard
|
|
LINKER_FLAGS += -mfloat-abi=hard
|
|
} else {
|
|
COMPILER_FLAGS += -mfloat-abi=softfp
|
|
LINKER_FLAGS += -mfloat-abi=softfp
|
|
}
|
|
|
|
include(linux_device_post.conf)
|