Closed codingspirit closed 2 years ago
This PR will fix possible build error with t31 toolchain by adding "-fPIC" flag:
[ 92%] Linking C shared library ../../lib/libsamplescommon.so
/mips-gcc472-glibc216-64bit/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/bin/ld: ../../lib/libkvs-embedded-c.a(mkv_generator.c.o): relocation R_MIPS_26 against `getRandomNumber' can not be used when making a shared object; recompile with -fPIC
../../lib/libkvs-embedded-c.a: error adding symbols: Bad value
Signed-off-by: zhiqinli@amazon.com zhiqinli@amazon.com
Issue #, if available:
Description of changes: Make sure 3rd party dependencies will be properly installed
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.