cmake: properly pass host cflags/ldflags to the build
authorFelix Fietkau <nbd@nbd.name>
Thu, 12 Jan 2017 13:41:01 +0000 (14:41 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 Jan 2017 09:23:43 +0000 (10:23 +0100)
commit6f9011f089981776970ca3fb397c483e257f9dde
tree347195a7a79975e5bd17a85dc9480682698679f5
parent796977010078c3ed4c2c1ff00e36d815b8c45aa0
cmake: properly pass host cflags/ldflags to the build

This should hopefully fix build issues where libraries that we ship in
tools/ were accidentally picked up from other places on the system, e.g.
/usr/local

Signed-off-by: Felix Fietkau <nbd@nbd.name>
tools/cmake/Makefile