Skip to content

Commit b872af6

Browse files
committed
Switch to using GPRBUILD_CARGS Makefile variable
1 parent 1a693db commit b872af6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ endif
105105

106106
all: coverage-instrument
107107
ifeq ($(ALIRE),True)
108-
alr build -- -XVERSION=$(VERSION) -XBUILD_DATE=$(BUILD_DATE) $(GPRBUILD_FLAGS)
108+
alr build -- -XVERSION=$(VERSION) -XBUILD_DATE=$(BUILD_DATE) $(GPRBUILD_FLAGS) $(GPRBUILD_CARGS)
109109
else
110110
# We have our own s-memory.adb which overwrites the default System.Memory implementation
111111
# For unclear reasons, this file is not recompiled when the version of GNAT was changed

scripts/build_als.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ function build_als() {
288288
#
289289
# To avoid that, we use the -gnateb flag which tells GNAT to not use
290290
# an absolute path for gnat.adc
291-
gprbuild_flag="-cargs:ada -gnateb"
291+
gprbuild_flag="-vm -cargs:ada -gnateb -bargs -v"
292292
;;
293293
esac
294294
fi
295295

296296
# We use 'alr exec' to benefit from Alire setting up GPR_PROJECT_PATH with
297297
# all the dependencies.
298-
LIBRARY_TYPE=static STANDALONE=no GPRBUILD_EXTRA="$gprbuild_flag" alr exec make -- "VERSION=$TAG" all
298+
LIBRARY_TYPE=static STANDALONE=no GPRBUILD_CARGS="$gprbuild_flag" alr exec make -- "VERSION=$TAG" all
299299
}
300300

301301
function test_als() {

0 commit comments

Comments
 (0)