Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 098826bf authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am 099fecd7: Use PRIVATE_CXX in HOST modules.

* commit '099fecd7':
  Use PRIVATE_CXX in HOST modules.
parents 28599d02 099fecd7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1001,7 +1001,7 @@ endef
# it to be overriden en-masse see combo/linux-arm.make for an example.
ifneq ($(HOST_CUSTOM_LD_COMMAND),true)
define transform-host-o-to-shared-lib-inner
$(HOST_CXX) \
$(PRIVATE_CXX) \
	-Wl,-rpath-link=$(TARGET_OUT_INTERMEDIATE_LIBRARIES) \
	-Wl,-rpath,\$$ORIGIN/../lib \
	-shared -Wl,-soname,$(notdir $@) \
@@ -1161,7 +1161,7 @@ endef

ifneq ($(HOST_CUSTOM_LD_COMMAND),true)
define transform-host-o-to-executable-inner
$(HOST_CXX) \
$(PRIVATE_CXX) \
	-Wl,-rpath-link=$(TARGET_OUT_INTERMEDIATE_LIBRARIES) \
	-Wl,-rpath,\$$ORIGIN/../lib \
	$(HOST_GLOBAL_LD_DIRS) \