mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-25 05:50:42 +00:00
Add PIC flag to CXXFLAGS in order to solve the issue with linking against the library for aarch64. Without PIC enabled, linking against this library fails with following messages: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `[snap]' which may bind externally can not be used when making a shared object; recompile with -fPIC Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>