aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/utils/gccifier.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-05-15 09:55:04 +0200
committerLukas Larsson <[email protected]>2012-05-30 18:22:28 +0200
commite028f0d67498ca61d7b3695c8cc80b48d74bf312 (patch)
tree16bea73d50752632d27b979f898ebe44d57a4306 /erts/test/utils/gccifier.c
parentd42881f1a27fb241bd38f4b77c146fb4ad0db4c8 (diff)
downloadotp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.tar.gz
otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.tar.bz2
otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.zip
Update gccifier to respect -link option
Diffstat (limited to 'erts/test/utils/gccifier.c')
-rw-r--r--erts/test/utils/gccifier.c3
1 files changed, 3 insertions, 0 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;