Skip to content

Commit

Permalink
Merge pull request #7177 from keithc-ca/uma
Browse files Browse the repository at this point in the history
Fix collection of object files for omr_static_lib
  • Loading branch information
babsingh authored Nov 13, 2023
2 parents 989261b + 9cf7484 commit 10bcf8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions omr_static_lib/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ endif

# Prepend the path to the library for relative paths.
# Absolute paths to object files must be left alone.
# MAKEFLAGS is cleared below because it might contain '-w' which seems to
# nullify the use of '--no-print-directory', or job-server context which
# yields warnings that should not be mixed into the 'show-objects' output.
OBJECTS := \
$(foreach lib,$(OMRLIBS), \
$(foreach object, \
$(shell $(MAKE) -s --no-print-directory -C $(lib) show-objects), \
$(shell MAKEFLAGS= $(MAKE) -s --no-print-directory -C $(lib) show-objects), \
$(if $(filter /%,$(object)),$(object),$(lib)/$(object))))

$(OBJECTS):
@echo $@

include $(top_srcdir)/omrmakefiles/rules.mk

0 comments on commit 10bcf8f

Please sign in to comment.