Support building on x64 hosts.
[mirror_edk2.git] / Tools / Source / TianoTools / Common / build.xml
index 749df92..5351eeb 100644 (file)
@@ -82,8 +82,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outtype="static"\r
         optimize="speed">\r
 \r
+      <compilerarg value="-fPIC" if="x86_64_linux"/>\r
+\r
       <includepath path="${PACKAGE_DIR}/Include"/>\r
-      <includepath path="${PACKAGE_DIR}/Include/Ia32"/>\r
+      <includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>\r
 \r
       <fileset dir="${basedir}/Common" \r
         includes="*.c" />\r