diff options
author | Jonathon Fernyhough | 2021-05-13 21:42:04 +0100 |
---|---|---|
committer | Jonathon Fernyhough | 2021-05-13 21:42:04 +0100 |
commit | 39fdd75fb9a445a48d3ed7f9825004ca589a2a99 (patch) | |
tree | 63cfd51ad7422fe574fcb8d15787b8eb264b1aed | |
parent | 7852e39068f1bb54798ed4b9a1c9d4d979bc9bfe (diff) | |
download | aur-39fdd75fb9a445a48d3ed7f9825004ca589a2a99.tar.gz |
Work around build failure caused by -Werror=format-security
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ build() { CFLAGS=${CFLAGS/-pipe/} CXXFLAGS=${CXXFLAGS/-pipe/} + # Force this for now, doesn't seem to be picked up via patch from https://bugs.archlinux.org/task/70701 + CFLAGS+=" -Wno-format -Wno-format-security" + CXXFLAGS+=" -Wno-format -Wno-format-security" + "$srcdir/gcc/configure" --prefix=/usr \ --libdir=/usr/lib \ --libexecdir=/usr/lib \ |