summaryrefslogtreecommitdiff
path: root/arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-19 12:01:06 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-09-19 12:01:06 +0100
commit6814210a1140fc2ed7ac46a220fc1919b59de938 (patch)
tree2b45cd8bfc143c337508c991f360124ebd0945ad /arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p
parent9c34f5d39dd828f307117401234e917627b95101 (diff)
downloadtoolchains-6814210a1140fc2ed7ac46a220fc1919b59de938.tar.gz
toolchains-6814210a1140fc2ed7ac46a220fc1919b59de938.tar.bz2
Update RISC OS toolchain a bit, hopefully it can build more now
Diffstat (limited to 'arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p')
-rw-r--r--arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p17
1 files changed, 17 insertions, 0 deletions
diff --git a/arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p b/arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p
new file mode 100644
index 0000000..f0598e5
--- /dev/null
+++ b/arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p
@@ -0,0 +1,17 @@
+--- gcc/cp/cfns.gperf.orig 2017-09-15 16:17:49.249145794 +0100
++++ gcc/cp/cfns.gperf 2017-09-15 16:18:26.468005263 +0100
+@@ -16,14 +16,6 @@
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+-#ifdef __GNUC__
+-__inline
+-#endif
+-static unsigned int hash (const char *, unsigned int);
+-#ifdef __GNUC__
+-__inline
+-#endif
+-const char * libc_name_p (const char *, unsigned int);
+ %}
+ %%
+ # The standard C library functions, for feeding to gperf; the result is used