mirror of
https://github.com/nasa/trick.git
synced 2025-01-30 16:13:55 +00:00
Use existing variables for LD and c++
This is why we have code reviews!
This commit is contained in:
parent
4146834f10
commit
951bee52c0
@ -114,10 +114,10 @@ TRICK_EXT_LIB_DIRS :=
|
||||
$(TRICKIFY_OBJECT_NAME): $(SWIG_OBJECTS) $(IO_OBJECTS) | $(dir $(TRICKIFY_OBJECT_NAME))
|
||||
$(info $(call COLOR,Linking) $@)
|
||||
ifeq ($(TRICKIFY_BUILD_TYPE),PLO)
|
||||
@echo ld -r -o $@ $^ >> $(MAKE_OUT)
|
||||
@echo $(LD) $(LD_PARTIAL) -o $@ $^ >> $(MAKE_OUT)
|
||||
$(ECHO_CMD)ld -r -o $@ $^ 2>&1 | $(TEE) -a $(MAKE_OUT); exit $${PIPESTATUS[0]}
|
||||
else ifeq ($(TRICKIFY_BUILD_TYPE),SHARED)
|
||||
@echo c++ -shared -o $@ $^ >> $(MAKE_OUT)
|
||||
@echo $(TRICK_CPPC) -shared -o $@ $^ >> $(MAKE_OUT)
|
||||
$(ECHO_CMD)c++ -shared -o $@ $^ 2>&1 | $(TEE) -a $(MAKE_OUT); exit $${PIPESTATUS[0]}
|
||||
else ifeq ($(TRICKIFY_BUILD_TYPE),STATIC)
|
||||
@echo ar rcs $@ $^ >> $(MAKE_OUT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user