[Tizen] Implement detecting of sanitized libraries
[platform/upstream/coreclr.git] / build.sh
index f4a0a69..cff2195 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -75,9 +75,9 @@ initTargetDistroRid()
     # Only pass ROOTFS_DIR if cross is specified.
     if (( ${__CrossBuild} == 1 )); then
         passedRootfsDir=${ROOTFS_DIR}
-    elif [ "${__BuildArch}" != "${__HostArch}" ]; then
-        echo "Error, you are building a cross scenario without passing -cross."
-        exit 1
+    #elif [ "${__BuildArch}" != "${__HostArch}" ]; then
+    #    echo "Error, you are building a cross scenario without passing -cross."
+    #    exit 1
     fi
 
     initDistroRidGlobal ${__BuildOS} ${__BuildArch} ${__PortableBuild} ${passedRootfsDir}
@@ -448,10 +448,10 @@ build_CoreLib()
     if [ $__SkipCrossgen == 1 ]; then
         echo "Skipping generating native image"
 
-        if [ $__CrossBuild == 1 ]; then
+        #if [ $__CrossBuild == 1 ]; then
             # Crossgen not performed, so treat the IL version as the final version
             cp $__CoreLibILDir/System.Private.CoreLib.dll $__BinDir/System.Private.CoreLib.dll
-        fi
+        #fi
 
         return
     fi