diff options
author | Filippo Falezza | 2022-11-08 11:41:08 +0000 |
---|---|---|
committer | Filippo Falezza | 2022-11-08 11:41:08 +0000 |
commit | 054ca4d76cd79e24bf1dcac482f5c0d61dc191a4 (patch) | |
tree | b794400e6a9b5d09cf2ec598c43421fb56a9e9c0 | |
parent | b967695f913dc60960d12f6309b2172d7fbd53e1 (diff) | |
download | aur-054ca4d76cd79e24bf1dcac482f5c0d61dc191a4.tar.gz |
edited Compile flags to remove error on format security warning
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = cross-mipsel-linux-gnu-gcc pkgdesc = The GNU Compiler Collection for the MIPS architecture pkgver = 12.1.0 - pkgrel = 1 + pkgrel = 2 url = https://www.gnu.org/software/gcc/ arch = x86_64 license = GPL @@ -6,7 +6,7 @@ pkgname=cross-mipsel-linux-gnu-gcc _pkgname=gcc _target="mipsel-linux-gnu" pkgver=12.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="The GNU Compiler Collection for the MIPS architecture" url="https://www.gnu.org/software/gcc/" arch=('x86_64') @@ -33,7 +33,9 @@ prepare() { build() { cd ${srcdir}/${_pkgname}-${pkgver} - + export CFLAGS="${CFLAGS// -Werror=format-security}" + export CXXFLAGS="$CFLAGS" + ./configure \ "--prefix=${_sysroot}" \ "--bindir=/usr/bin" "--program-prefix=${_target}-" \ |