summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2022-01-17 16:55:30 +0100
committerXiretza2022-01-17 16:55:30 +0100
commit9f08cd62a021e057e586d138d1f79a1d08f974e3 (patch)
treeed14957c16e56fbe1ed141a599d66c40c14ff94c
parent328e12b8c4d0dfaf6b092149e03f0977112346ed (diff)
downloadaur-9f08cd62a021e057e586d138d1f79a1d08f974e3.tar.gz
Export ADA_FLAGS to enable debug packages
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 66e9fc04eb34..eaa8ed3a3ad1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ghdl-mcode-git
pkgdesc = VHDL simulator - mcode back-end
pkgver = 2.0.0dev.r6945.gaee3585af
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ghdl/ghdl
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3cb1bba7397c..0de283e8f076 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ghdl-mcode-git
pkgver=2.0.0dev.r6945.gaee3585af
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'i686' 'pentium4')
pkgdesc='VHDL simulator - mcode back-end'
url='https://github.com/ghdl/ghdl'
@@ -45,6 +45,10 @@ pkgver() {
build() {
cd "${srcdir}/ghdl"
+ export ADA_FLAGS="$CFLAGS -fno-strict-aliasing"
+ ADA_FLAGS="${ADA_FLAGS//-Wformat}"
+ ADA_FLAGS="${ADA_FLAGS//-Werror=format-security}"
+
./configure \
--prefix=/usr/ \
--enable-libghdl \