diff options
author | Jonathon Fernyhough | 2021-05-13 21:42:06 +0100 |
---|---|---|
committer | Jonathon Fernyhough | 2021-05-13 21:42:06 +0100 |
commit | dc5759dfc24749862bc37558da7b128116470b91 (patch) | |
tree | 293aec8f51f912243c3960166a7fa0dea6e5ee76 | |
parent | 88548bdbeaedcd5ddcd8450c20b06d49aaf5824b (diff) | |
download | aur-dc5759dfc24749862bc37558da7b128116470b91.tar.gz |
Work around build failure caused by -Werror=format-security
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -65,6 +65,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 \ |