Use TGT_CFLAGS instead of CFLAGS in Makefile. Otherwise build will abort when CFLAGS is passed to the build process by make option or environment.
Use TGT_CFLAGS instead of CFLAGS in Makefile. Otherwise build will abort when CFLAGS is passed to the build process by make option or environment.