]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/TianoTools/Common/build.xml
Support building on x64 hosts.
[mirror_edk2.git] / Tools / Source / TianoTools / Common / build.xml
index 749df92bcaf235c148bef58755cc9c61fe5893b7..5351eebe0923c0db9632aba3369dff75ca18ee1b 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