Skip to content

Commit

Permalink
Merge branch 'topic/cross' into 'master'
Browse files Browse the repository at this point in the history
Add GPRFLAGS variable to Makefile

Closes #235

See merge request eng/ide/VSS!316
  • Loading branch information
reznikmm committed Jan 30, 2024
2 parents e0f8018 + 8687e31 commit 0c2ba9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
# VSS_CI_MODE | CI_MODE = none | on
#
# ADAFLAGS = ...
# GPRFLAGS = ...

GPRBUILD_FLAGS = -p -j0
GPRBUILD_FLAGS = -p -j0 $(GPRFLAGS)

PREFIX ?= /usr
GPRDIR ?= $(PREFIX)/share/gpr
Expand All @@ -21,7 +22,7 @@ INSTALL_EXEC_DIR ?= $(DESTDIR)$(BINDIR)
INSTALL_LIBRARY_DIR ?= $(DESTDIR)$(LIBDIR)
INSTALL_ALI_DIR ?= $(INSTALL_LIBRARY_DIR)/vss/$*

GPRINSTALL_FLAGS = \
GPRINSTALL_FLAGS = $(GPRFLAGS) \
-XVSS_LIBRARY_TYPE=$* \
--build-name=$* --build-var=LIBRARY_TYPE --build-var=VSS_LIBRARY_TYPE \
--prefix=$(PREFIX) --exec-subdir=$(INSTALL_EXEC_DIR) \
Expand Down

0 comments on commit 0c2ba9f

Please sign in to comment.