title: Scrambled arguments when building OpenJDK
body: <p>When trying to build OpenJDK, I get a series of errors while doing <code>make all</code>:</p>
  
  <pre><code>/usr/bin/make: invalid option -- '8'
  /usr/bin/make: invalid option -- '/'
  /usr/bin/make: invalid option -- 'a'
  /usr/bin/make: invalid option -- '/'
  /usr/bin/make: invalid option -- 'c'
  </code></pre>
  
  <p>Running <code>make all LOG=trace JOBS=1</code> gives </p>
  
  <pre><code>+ /usr/bin/make VERBOSE= LOG_LEVEL=trace -R -I /home/ft/openjdk8/make/common -f adlc.make -r -rRw -I/home/ft/open -j1 -dk8/make/common -I/home/ft/openjdk8/make/common -I/home/ft/openjdk8/make/common -I/home/ft/openjdk8/make/common -I/home/ft/openjdk8/make/common
  </code></pre>
  
  <p>as the bad argument. The relevent section is <code>-I/home/ft/open -j1 -dk8/make/common</code>. <code>grep -R 'I/home/ft/open -j1 -dk8/make/common'</code> turns up nothing more than the log. This occurs with <code>./configure --enable-debug</code> and without.</p>
  
  <p>I found an <a href="http://mail.openjdk.java.net/pipermail/build-dev/2013-October/010840.html">issue on a mailing list</a> that seems similar, but it appears that he gave up.</p>
  
  <p><strong>Edit:</strong> Searched for <code>-ji</code>, <code>make/HotspotWrapper.gmk</code>:<code>@($(CD) $(HOTSPOT_TOPDIR)/make &amp;&amp; $(MAKE) -j1 $(HOTSPOT_MAKE_ARGS) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC))</code> is the main candidate for breaking things</p>