hfsprogs: Fix build failures with external toolchains
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 3 Apr 2017 02:58:37 +0000 (19:58 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 3 Apr 2017 03:00:33 +0000 (20:00 -0700)
commit94478ebff81a0a782e5011c627b4969cab2d6588
tree79b7f72e1256c15682459a583023b74444434913
parenta04b137c871b4557ae44a95667eb71fd61d7f48c
hfsprogs: Fix build failures with external toolchains

Several problems were found with building against an external toolchain:

* TARGET_CPPFLAGS was missing which would prevent finding the headers
* TARGET_LDFLAGS also was not passed correctly
* when building against glibc, since we use strlcpy() we need to link
  against libbsd

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
utils/hfsprogs/Makefile