build: fix build on Mac OS X 10.9
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 30 Oct 2013 21:47:01 +0000 (21:47 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 30 Oct 2013 21:47:01 +0000 (21:47 +0000)
commitfab6fb94439b5506c6febd8e157d95b5b3ef5314
tree3955da6849266908fb38059ed1f5e280c371ac13
parent927aa89020129839f3248e7a1e6a3fe91f679c0a
build: fix build on Mac OS X 10.9

Add a wrapper around the clang gcc emulation to fix -print-file-name=<lib>

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r38560

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@38613 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/toplevel.mk
scripts/clang-gcc-wrapper [new file with mode: 0755]