From: Luke Kenneth Casson Leighton Date: Thu, 29 Dec 2022 13:04:09 +0000 (+0000) Subject: get video pypowersim_wrapper running X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb30e692e020b430532482e90bbf5763645b7cdf;p=openpower-isa.git get video pypowersim_wrapper running --- 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}