Define PYC_ROOT and WASM_ROOT (#18290) ##build

Avoid passing -I as this is a non-portable construct.

Caught in pkgsrc on NetBSD.
This commit is contained in:
Kamil Rytarowski 2021-01-25 22:22:39 +01:00 committed by GitHub
parent c5240b1a3d
commit de01f2d7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ STATIC_OBJ+=${OBJ_PYC}
TARGET_PYC=anal_pyc.$(EXT_SO)
ALL_TARGETS+=${TARGET_PYC}
PYC_ROOT=../asm/arch/pyc
CFLAGS+=-I$(PYC_ROOT)
${TARGET_PYC}: ${OBJ_PYC}

View File

@ -1,4 +1,5 @@
OBJ_WASM=anal_wasm.o
WASM_ROOT=../asm/arch/wasm
CFLAGS+=-I$(WASM_ROOT)
STATIC_OBJ+=${OBJ_WASM}