contrib: fix bin2c compilation when crosscompiling x86_64 on arm64.

This commit is contained in:
Damiano galassi 2023-10-06 17:37:25 +02:00
parent 1568bbfe27
commit a45c5d053c
No known key found for this signature in database
GPG Key ID: 5452E231DFDBCA11

View File

@ -4,6 +4,7 @@ $(eval $(call import.GCC,BIN2C))
BIN2C.src/ = $(SRC/)contrib/bin2c/
BIN2C.build/ = $(BUILD/)contrib/bin2c/
BIN2C.GCC.archs = $(BUILD.machine)
BIN2C.GCC.args.extra =
BIN2C.c = $(wildcard $(BIN2C.src/)*.c)
BIN2C.c.o = $(patsubst $(SRC/)%.c,$(BUILD/)%.o,$(BIN2C.c))
@ -15,4 +16,4 @@ BIN2C.exe = $(BUILD/)$(call TARGET.exe,bin2c)
BIN2C.out += $(BIN2C.c.o)
BIN2C.out += $(BIN2C.exe)
BUILD.out += $(BIN2C.out)
BUILD.out += $(BIN2C.out)