pcp: Fix build race condition

Fixes
| chkacc1.c:8:10: fatal error: localconfig.h: No such file or directory
|     8 | #include "localconfig.h"
|       |          ^~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-01-13 09:48:28 -08:00
parent 8589b69f9f
commit d5f1f8c376
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/qa/src/GNUlocaldefs
+++ b/qa/src/GNUlocaldefs
@@ -728,7 +728,7 @@ scale.o: localconfig.h
779246.o: libpcp.h
aggrstore.o: libpcp.h
badmmv.o: libpcp.h
-chkacc1.o: libpcp.h
+chkacc1.o: libpcp.h localconfig.h
chkacc2.o: libpcp.h
chkacc3.o: libpcp.h
chkacc4.o: libpcp.h
+1
View File
@@ -12,6 +12,7 @@ DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptoo
SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
file://pass-options-to-AR.patch \
file://fix_parallel_make.patch \
"
export PCP_DIR="${RECIPE_SYSROOT_NATIVE}"