summarylogtreecommitdiffstats
path: root/dkms.conf
diff options
context:
space:
mode:
authorMichael Lass2017-06-01 21:30:21 +0200
committerMichael Lass2017-06-01 21:33:09 +0200
commita268faf143b48b8b12676ca40b89c1d00acf1b4f (patch)
tree8e9f50b24b83cb91cb924d53ffe7baa176c47cb7 /dkms.conf
parent6a243ceadee86eb94eca348dbd2782cdda2eb1f2 (diff)
downloadaur-a268faf143b48b8b12676ca40b89c1d00acf1b4f.tar.gz
Add fix for gcc bug
The following error flaws the check for gid in the group_info struct. For now we just set the corresponding define manually. /var/lib/dkms/openafs/1.6.20.2/build/conftest.dir/conftest.c:43:8: internal compiler error: Segmentation fault struct group_info _test; printk("%x\n", &_test.gid); ^~~~~~~~~~
Diffstat (limited to 'dkms.conf')
-rw-r--r--dkms.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/dkms.conf b/dkms.conf
index 6cc5af1f677..d0d52972b45 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -14,5 +14,6 @@ MAKE[0]="(./configure --prefix=/usr \
--disable-fuse-client \
--with-linux-kernel-packaging \
--with-linux-kernel-headers=${kernel_source_dir} \
+ && echo '#define STRUCT_GROUP_INFO_HAS_GID' >> src/config/afsconfig.h \
&& make ${MAKEFLAGS} )"
CLEAN="[ ! -f Makefile ] || make clean"