summaryrefslogtreecommitdiff
path: root/scripts/patch-specs.sh
AgeCommit message (Collapse)Author
2012-01-29[scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after ↵jow
the version tag, cope with that git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29[scripts] patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file ↵jow
patching is not possible (gcc < 4.3.0) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18[scripts] add patch-specs.sh, a utility for modifying GCC specsjow
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