<div dir="ltr"><div>Hi All,</div><div><br></div><div>The documents for llvm[1] suggests using LINK_ENVIRONMENT_OVERRIDES to get the link time parameters compiled. What I wanted done was to run the Mibench benchmark but wanted the "-static" option added while linking so as to get the static executable.</div>
<div><br></div><div>Running with the exported variable(LINK_ENVIRONMENT_OVERRIDES) did not help me to get this done. </div><div><br></div><div>Finally had to change the file Makefile.multisrc to add -static to the LDFLAGS to get this done. (diff attached) </div>
<div><br></div><div>is there a way to get this done without changing the source of the testsuite and adding it in environment variables?</div><div><br></div>[1] <a href="http://llvm.org/docs/lnt/tests.html#tests">http://llvm.org/docs/lnt/tests.html#tests</a><br>
<div><br></div><div>Thanks,</div><div>George</div><div><br></div><div>PS : Usage of EXECUTION_ENVIRONMENT_OVERRIDES worked fine. </div></div>