Mobile/Fennec/Android OtherBuildEnvs: Difference between revisions

m
Line 104: Line 104:
       printf("#undef  IS_BIG_ENDIAN\n\n");
       printf("#undef  IS_BIG_ENDIAN\n\n");


and rebuild using a mozconfig such as the one above. As leaving this change in your local hg clone might prevent some operations, you can use a hack with hard-links to only apply the patch when building. Keep two copies of the jscpucfg.cpp file in a directory somewhere, one with the patch applied and one original. Then, just before building, hard-link the modified file into the js/src folder, and after the build is complete, change the hard-link back the original file. This will retain the timestamps on the file and prevent the build scripts from rebuilding all of the js engine.
and rebuild using a mozconfig such as the one above. As leaving this change in your local hg clone might prevent some operations, you can use a hack with hard-links to only apply the patch when building. Keep two copies of the jscpucfg.cpp file in a directory somewhere, one with the patch applied and one original. Then, just before building, hard-link the modified file into the js/src folder, and after the build is complete, change the hard-link back the original file. This will retain the timestamps on the file and prevent the build scripts from rebuilding all of the js engine while also leaving hg blissfully unaware of the change.
Confirmed users
586

edits