If the compiler toolchain is in a non-standard location, the current Makefile does pick up the correct system includes from CFLAGS, but does not use the corresponding -L from LDFLAGS.
This produces a broken binary (linked against the wrong version of libstdc++).
If the compiler toolchain is in a non-standard location, the current Makefile does pick up the correct system includes from CFLAGS, but does not use the corresponding
-L
from LDFLAGS.This produces a broken binary (linked against the wrong version of libstdc++).