summarylogtreecommitdiffstats
path: root/gcc7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc7.patch')
-rw-r--r--gcc7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc7.patch b/gcc7.patch
new file mode 100644
index 00000000000..1a9a62e76e8
--- /dev/null
+++ b/gcc7.patch
@@ -0,0 +1,13 @@
+diff --git a/src/intern_blks/ya_intern.c b/src/intern_blks/ya_intern.c
+index 187e62d..2e6095f 100644
+--- a/src/intern_blks/ya_intern.c
++++ b/src/intern_blks/ya_intern.c
+@@ -116,7 +116,7 @@ int ya_fscanf(char* fpath, ya_block_t *blk, char *fmt, ...) {
+ return ret;
+ }
+
+-inline void ya_setup_prefix_suffix(ya_block_t *blk, size_t * prflen, size_t *suflen, char **startstr) {
++__attribute__ ((gnu_inline)) inline void ya_setup_prefix_suffix(ya_block_t *blk, size_t * prflen, size_t *suflen, char **startstr) {
+ if(blk->internal->prefix) {
+ *prflen = strlen(blk->internal->prefix);
+ if(*prflen) {