Skip to content

Commit

Permalink
Preserve GNATCOLL_ICONV_OPT in Makefile if already set
Browse files Browse the repository at this point in the history
ref eng/recordflux/RecordFlux#1453
ref #1292
  • Loading branch information
jklmnn committed Nov 9, 2023
1 parent 54e76c6 commit 415eb31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Proving of validity of message field after update with valid sequence (eng/recordflux/RecordFlux#1444)
- User defined `GNATCOLL_ICONV_OPT` environment variable is ignored in Makefile (AdaCore/RecordFlux#1292, eng/recordflux/RecordFlux#1453)

## [0.15.0] - 2023-11-08

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ parser: $(GENERATED_DIR)/python/librflxlang/librflxlang.so

$(GENERATED_DIR)/python/librflxlang/librflxlang.so: export GPR_PROJECT_PATH := \
$(GPR_PROJECT_PATH):$(GENERATED_DIR)/langkit/langkit/support:$(GENERATED_DIR)/gnatcoll-bindings/gmp:$(GENERATED_DIR)/gnatcoll-bindings/iconv:$(GENERATED_DIR)/adasat
$(GENERATED_DIR)/python/librflxlang/librflxlang.so: export GNATCOLL_ICONV_OPT := -v
$(GENERATED_DIR)/python/librflxlang/librflxlang.so: export GNATCOLL_ICONV_OPT ?= -v
$(GENERATED_DIR)/python/librflxlang/librflxlang.so: $(wildcard language/*.py) | $(GENERATED_DIR)/python/librflxlang
gprbuild -p -j0 -P$(GENERATED_DIR)/librflxlang.gpr \
-XLIBRARY_TYPE=static-pic \
Expand Down

0 comments on commit 415eb31

Please sign in to comment.