We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106d01a commit 1bbd0d9Copy full SHA for 1bbd0d9
mk/rt.mk
@@ -117,7 +117,7 @@ $$(RT_BUILD_DIR_$(1)_$(2))/%.o: rt/%.S $$(MKFILE_DEPS) \
117
$$(RT_BUILD_DIR_$(1)_$(2))/%.o: rt/%.ll $$(MKFILE_DEPS) \
118
$$(LLVM_CONFIG_$$(CFG_BUILD))
119
@$$(call E, compile: $$@)
120
- $$(Q)$(LLC_$(CFG_BUILD)) -filetype=obj -o $$@ $$< -mtriple=$(1)
+ $$(Q)$(LLC_$(CFG_BUILD)) -filetype=obj -mtriple=$(1) -relocation-model=pic -o $$@ $$<
121
122
$$(RT_BUILD_DIR_$(1)_$(2))/arch/$$(HOST_$(1))/libmorestack.a: $$(MORESTACK_OBJS_$(1)_$(2))
123
@$$(call E, link: $$@)
0 commit comments