use LDFLAGS instead of CFLAGS for -static stuff
use LDFLAGS instead of CFLAGS for -static stuff

stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/stan,stan-dev/math,stan-dev/stan,stan-dev/stan,stan-dev/math,stan-dev/math,stan-dev/stan,stan-dev/math,stan-dev/math,stan-dev/stan,stan-dev/math