diff options
author | Xiretza | 2021-07-16 21:51:52 +0200 |
---|---|---|
committer | Xiretza | 2021-07-16 21:51:52 +0200 |
commit | 56b6b2ed8378a3b9287b09d7526239ab9a3def94 (patch) | |
tree | 1020aea52816e0ca0aa2691ddce48aca2d5bc44d | |
parent | afbc5431d8247a2b32c6389266746fe231aa0aac (diff) | |
download | aur-56b6b2ed8378a3b9287b09d7526239ab9a3def94.tar.gz |
Respect CFLAGS/LDFLAGS
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,11 +22,15 @@ build() { cd "$srcdir/$_extract_dir" + ADA_FLAGS="$CFLAGS" + ADA_FLAGS="${ADA_FLAGS//-Wformat}" + ADA_FLAGS="${ADA_FLAGS//-Werror=format-security}" + # Build the Langkit_Support library, used by all Langkit-generated libraries. python manage.py build-langkit-support \ --library-types=relocatable \ --build-mode=prod \ - --gargs="-R" + --gargs="-R -cargs $ADA_FLAGS -largs $LDFLAGS -gargs" make -C doc html } |