Last active
June 24, 2016 18:52
-
-
Save dhilst/2fa8dd54712d0b92a3db52e472d9fc09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . $1 | |
| export BUILD_SYS=$(echo $CONFIGURE_FLAGS | tr -s ' ' '\n' | grep host | cut -f2 -d=) | |
| export HOST_SYS=$(echo $CONFIGURE_FLAGS | tr -s ' ' '\n' | grep build | cut -f2 -d=) | |
| export STAGING_INCDIR=${OECORE_TARGET_SYSROOT}/usr/include | |
| export STAGING_LIBDIR=${OECORE_TARGET_SYSROOT}/usr/lib | |
| export PATH=${OECORE_NATIVE_SYSROOT}/usr/bin/python-native:${PATH} | |
| # remove stripping, I face used symbols being stripped | |
| # this has to do with linker option order | |
| export LDFLAGS=${LDFLAGS/-Wl,--as-needed/} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment