[m-rev.] diff: fix a problem with mmc --make

Julien Fischer jfischer at opturion.com
Thu Jan 17 17:03:04 AEDT 2013


Fix a problem that broke mmc --make.

compiler/make.module_target.m:
   Don't pass --pic to mmc since that option is no longer supported.

Julien.

diff --git a/compiler/make.module_target.m b/compiler/make.module_target.m
index 6ee247a..5a629db 100644
--- a/compiler/make.module_target.m
+++ b/compiler/make.module_target.m
@@ -872,7 +872,7 @@ compilation_task(_, module_target_xml_doc) =

 % `--pic-reg' is harmless for architectures and grades where it is not needed
 % (it's only needed for grades using GCC global register variables on x86).
-get_pic_flags(pic) = ["--pic", "--pic-reg"].
+get_pic_flags(pic) = ["--pic-reg"].
 get_pic_flags(link_with_pic) = ["--pic-reg"].
 get_pic_flags(non_pic) = [].



More information about the reviews mailing list