diff options
author | Rod Kay | 2022-05-14 21:23:57 +1000 |
---|---|---|
committer | Rod Kay | 2022-05-14 21:23:57 +1000 |
commit | e5ef0023191f7541e1858544b7f57b01522143fc (patch) | |
tree | 0e20d100335dec4735aa3ed9811b9328693171bf | |
parent | 609cf50c1d0fbce1e25fbc588caa4cbf05e79461 (diff) | |
download | aur-e5ef0023191f7541e1858544b7f57b01522143fc.tar.gz |
Rid flags not used by Ada.
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,6 +22,10 @@ build() { cd "$srcdir/$_repo_name-$pkgver/sql" + # Rid flags not used by Ada. + CFLAGS="${CFLAGS//-Wformat}" + CFLAGS="${CFLAGS//-Werror=format-security}" + make setup BUILD=PROD prefix=/usr make -j1 GPRBUILD_OPTIONS="-R -cargs $CFLAGS -largs $LDFLAGS -gargs" } @@ -43,4 +47,4 @@ package() install -D -m644 \ "../COPYING.RUNTIME" \ "$pkgdir/usr/share/licenses/$pkgname/COPYING.RUNTIME" -} +}
\ No newline at end of file |