diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2017-06-05 17:44:27 -0700 |
|---|---|---|
| committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-06-05 17:44:27 -0700 |
| commit | 140b3f2fe09ed12a6561697982189cf934fcbfd8 (patch) | |
| tree | 7115e25cd2be5133c1d02b070210e44a63475780 /lang/python/python3/files | |
| parent | 3ffd13fbd2c16c1b297811702f6657ea10b62043 (diff) | |
lpeg: Fix build with external toolchains
We are not properly passing down TARGET_CFLAGS and TARGET_CPPFLAGS and
this can be noticed with external toolchains with the following build
error:
mipsel-linux-gnu-gcc -Wall -Wextra -pedantic -Waggregate-return
-Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith
-Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast
-Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs
-Wstrict-prototypes -O2 -std=c99 -I../lua/ -fPIC -c -o lpvm.o lpvm.c
lpvm.c:10:17: fatal error: lua.h: No such file or directory
#include "lua.h"
^
compilation terminated.
make[4]: *** [lpvm.o] Error 1
Re-use COPT to pass our TARGET_CFLAGS and TARGET_CPPFLAGS
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'lang/python/python3/files')
0 files changed, 0 insertions, 0 deletions
