[scripts] add patch-specs.sh, a utility for modifying GCC specs
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 03:11:45 +0000 (03:11 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 03:11:45 +0000 (03:11 +0000)
commit9c517fdaa2f9e8ed41ec1d8fecda86a07b9ac83a
tree83034663be2f839fd5dac91c3904331de00c4b54
parentae5914acdf354f8f15fe34a8aa942cf2d9450452
[scripts] add patch-specs.sh, a utility for modifying GCC specs
The patch-specs.sh utility dumps the GCC specs of a given toolchain
and modifies them to always include $STAGING_DIR in the link and
compiler command lines, this makes most -I and -L flags unnecessary
and lets the compiler automatically find libraries and headers in
the staging dir, also solves the majority of -rpath issues.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29767 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/patch-specs.sh [new file with mode: 0755]
This page took 0.021539 seconds and 4 git commands to generate.