Closed ghost closed 3 years ago
Fixes a build failure with gcc-10. Resolve #33.
cc -o omxiv.bin omxiv.o omx_image.o omx_render.o soft_image.o ./libnsbmp/libnsbmp.o ./libnsgif/libnsgif.o -lilclient -ljpeg -lpng -lrt -ldl -Wl,--gc-sections -s -L/opt/vc/lib/ -lopenmaxil -lbcm_host -lvcos -lpthread -L./libs/ilclient /usr/bin/ld: omx_render.o:/home/pi/RetroPie-Setup/tmp/build/omxiv/omx_render.h:71: multiple definition of `OMX_RENDER_TRANSITION'; omxiv.o:/home/pi/RetroPie-Setup/tmp/build/omxiv/omx_render.h:71: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:14: omxiv.bin] Error 1
Fixes a build failure with gcc-10. Resolve #33.