]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add -install_name to options that take an argument
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 27 Aug 2010 18:29:15 +0000 (20:29 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 27 Aug 2010 18:37:51 +0000 (20:37 +0200)
According to Christian Lohmaier, OpenOffice.org uses something like
"-install_name @_(50 underscores)identifier/libraryname" when linking on
Darwin. Adding -install_name to the list of options that take an argument
makes the "called for link" counter tick instead of "unsupported compiler
option".

ccache.c

index 36c7d7caf0695989fe0e3f0bd55aeaeac5028307..1fe0501d18e8530cfa024ff0507ad44383104d20 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1637,6 +1637,7 @@ cc_process_args(struct args *orig_args, struct args **preprocessor_args,
                                "-Xlinker",
                                "-aux-info",
                                "-b",
+                               "-install_name", /* Darwin linker option */
                                "-iwithprefix",
                                "-iwithprefixbefore",
                                "-u",