Skip to content

Instantly share code, notes, and snippets.

@adek05
Created October 4, 2014 23:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adek05/a69330a483528a849c30 to your computer and use it in GitHub Desktop.
Save adek05/a69330a483528a849c30 to your computer and use it in GitHub Desktop.
diff --git a/gcc/jit/Make-lang.in b/gcc/jit/Make-lang.in
index e79d5d0..4825b63 100644
--- a/gcc/jit/Make-lang.in
+++ b/gcc/jit/Make-lang.in
@@ -71,8 +71,7 @@ $(LIBGCCJIT_FILENAME): $(jit_OBJS) \
+$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ -shared \
$(jit_OBJS) libbackend.a libcommon-target.a libcommon.a \
$(CPPLIB) $(LIBDECNUMBER) $(LIBS) $(BACKENDLIBS) \
- -Wl,--version-script=$(srcdir)/jit/libgccjit.map \
- -Wl,-soname,$(LIBGCCJIT_SONAME)
+ -Wl,-install_name,$(LIBGCCJIT_SONAME)
$(LIBGCCJIT_SONAME_SYMLINK): $(LIBGCCJIT_FILENAME)
ln -sf $(LIBGCCJIT_FILENAME) $(LIBGCCJIT_SONAME_SYMLINK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment