aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-specs.sh
Commit message (Collapse)AuthorAgeFilesLines
* [scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after ↵Jo-Philipp Wich2012-01-291-1/+1
| | | | | | the version tag, cope with that git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file ↵Jo-Philipp Wich2012-01-291-35/+61
| | | | | | patching is not possible (gcc < 4.3.0) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] add patch-specs.sh, a utility for modifying GCC specsJo-Philipp Wich2012-01-181-0/+64
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