diff options
author | Felix Uhl | 2021-03-29 14:53:55 +0200 |
---|---|---|
committer | Felix Uhl | 2021-03-29 14:53:55 +0200 |
commit | fdd4db3365efd261e93fc790fd02015c4300c0ef (patch) | |
tree | a48290a251b4060460c73aef80e9b81a386f2b48 | |
parent | 60ce7c998d1d7ecee4ad16a61f700e06eed74eea (diff) | |
download | aur-fdd4db3365efd261e93fc790fd02015c4300c0ef.tar.gz |
Fix build for gcc >= 10
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,3 @@ -# Generated by mksrcinfo v8 -# Mon Mar 6 18:22:26 UTC 2017 pkgbase = uswsusp-git pkgdesc = Userspace software suspend - git checkout pkgver = 0.r501.g668c5f7 @@ -57,6 +57,9 @@ build() { # For the time being encrypt support is disabled. To reenable add # --enable-encrypt below and fix the code. + # This is necessary for gcc >= 10 + CFLAGS="$CFLAGS -fcommon" + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ |