diff options
author | Lukas Larsson <[email protected]> | 2012-05-15 09:55:04 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-05-30 18:22:28 +0200 |
commit | e028f0d67498ca61d7b3695c8cc80b48d74bf312 (patch) | |
tree | 16bea73d50752632d27b979f898ebe44d57a4306 | |
parent | d42881f1a27fb241bd38f4b77c146fb4ad0db4c8 (diff) | |
download | otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.tar.gz otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.tar.bz2 otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.zip |
Update gccifier to respect -link option
-rw-r--r-- | erts/test/utils/gccifier.c | 3 | ||||
-rw-r--r-- | lib/erl_interface/test/all_SUITE_data/gccifier.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/erts/test/utils/gccifier.c b/erts/test/utils/gccifier.c index 64de764260..a6b8a340a1 100644 --- a/erts/test/utils/gccifier.c +++ b/erts/test/utils/gccifier.c @@ -231,6 +231,9 @@ main(int argc, char *argv[]) CHECK_FIRST_LINK_ARG; save_arg(&link_args, "-libpath:", arg, NULL); } + else if (strcmp("-link",arg) == 0) { + CHECK_FIRST_LINK_ARG; + } #endif /* #ifdef __WIN32__ */ else if (is_prefix("-l", &arg)) { CHECK_FIRST_LINK_ARG; diff --git a/lib/erl_interface/test/all_SUITE_data/gccifier.c b/lib/erl_interface/test/all_SUITE_data/gccifier.c index 9f556fc4ed..a6b8a340a1 100644 --- a/lib/erl_interface/test/all_SUITE_data/gccifier.c +++ b/lib/erl_interface/test/all_SUITE_data/gccifier.c @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2005-2009. All Rights Reserved. + * Copyright Ericsson AB 2004-2009. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -16,7 +16,6 @@ * * %CopyrightEnd% * - */ /* @@ -232,6 +231,9 @@ main(int argc, char *argv[]) CHECK_FIRST_LINK_ARG; save_arg(&link_args, "-libpath:", arg, NULL); } + else if (strcmp("-link",arg) == 0) { + CHECK_FIRST_LINK_ARG; + } #endif /* #ifdef __WIN32__ */ else if (is_prefix("-l", &arg)) { CHECK_FIRST_LINK_ARG; |