From f2e8021843a7b87020270e58f31bdebed51cbb4c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 29 Dec 2022 13:04:09 +0000 Subject: [PATCH] get video pypowersim_wrapper running --- media/pypowersim_wrapper/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media/pypowersim_wrapper/Makefile b/media/pypowersim_wrapper/Makefile index 7b604827..9c6ad5be 100644 --- a/media/pypowersim_wrapper/Makefile +++ b/media/pypowersim_wrapper/Makefile @@ -5,7 +5,7 @@ CXX=g++ AS=powerpc64le-linux-gnu-as OBJCOPY=powerpc64le-linux-gnu-objcopy CFLAGS= -Iinclude -O -g3 -I/usr/include/python3.7m -CXXFLAGS= -Iinclude -O -g3 +CXXFLAGS= -Iinclude -O -g3 -fpermissive ASFLAGS= -mlibresoc -mregnames LDFLAGS=-lgtest -pthread -lpython3.7m @@ -13,6 +13,8 @@ EXAMPLEC = pypowersim_wrapper_example.c EXAMPLEOBJ = ${EXAMPLEC:.c=.o} ${EXAMPLE}: ${EXAMPLEOBJ} + ${CXX} -o ${EXAMPLE} ${EXAMPLEC} ${CFLAGS} ${CXXFLAGS} ${LDFLAGS} + all: ${EXAMPLE} -- 2.30.2