Skip to content

Commit

Permalink
python3-grpcio: make sure that GRPC_CFLAGS is expanded to empty
Browse files Browse the repository at this point in the history
* with bitbake change from:
  https://git.openembedded.org/bitbake/commit/?id=699e36c270d863258502d315ed00a1b940bfbf96
  the GRPC_CFLAGS now stays None when toolchain-clang isn't used
  causing:
  i686-oe-linux-gcc: error: ${GRPC_CFLAGS}: linker input file not found: No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
shr-project authored and kraj committed Aug 12, 2021
1 parent 03e7bc1 commit 408f114
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ BORING_SSL:arm = "1"
BORING_SSL ?= "0"
export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"

GRPC_CFLAGS ?= ""
GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"
export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}"

Expand Down

0 comments on commit 408f114

Please sign in to comment.