Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pylibfdt/Makefile.pylibfdt: use project's flags to compile the extension
Seems the project's CFLAGS are not used when compiling the python extension's C code via the setup.py script. Some default flags are used instead. Thus pass the CFLAGS explicitly. Unfortunately the SWIG generated code is not clean and requires -Wno-error override to compile successfully, because -Werror is used in the project's flags. Signed-off-by: Dan Horák <[email protected]> Signed-off-by: David Gibson <[email protected]>
- Loading branch information