diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2017-02-06 11:41:00 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-13 18:43:30 +0100 |
commit | 3527257c137d12fd10d7e56270d97834de75bb08 (patch) | |
tree | 5814d5bd1386df538bd39ffacae955afeca89441 /meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch | |
parent | 2ede2eb6e73ef2118f138b75663e61689b57de3e (diff) | |
download | meta-openembedded-3527257c137d12fd10d7e56270d97834de75bb08.tar.gz |
libatasmart: unify the complier and CFLAGS for host build
* When build libatasmart, we need first build strpool in host
env. To build strpool, the compiler is host compiler, but
the CFLAGS and LDFLAGS are for cross-compiler, so unify them
to fix below error.
| make -C strpool strpool
| make[1]: Entering directory '../libatasmart/0.19-r0/build/strpool'
| gcc -DHAVE_CONFIG_H -I. -I../../git/strpool -I.. -isystem../build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -O2 -pipe -g -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -c -o strpool.o `test -f '../strpool.c' || echo '../../git/strpool/'`../strpool.c
| gcc: error: unrecognized command line option ‘-fstack-protector-strong’
| make[1]: *** [Makefile:404: strpool.o] Error 1
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch')
0 files changed, 0 insertions, 0 deletions