Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch works around an issue with the new Clang front end in Xcod…
…e 5.0. When passed an argument of '-x assembler', Clang seems to ignore all other arguments. This is a problem, because we have to pass Clang an argument of -no-integrated-as in order to make the libjpeg-turbo NEON code assemble correctly. Thus, this patch creates a temporary file and then calls system() to execute the assembler, rather than attempting to pass the filtered assembly code to the assembler via stdin. Note that we also now need to strip the various -M* options from the assembler command line, else the dependency file for the SIMD object will depend on the temporary assembly file (which is deleted after use) and not the original assembly file. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/gas-preprocessor@1103 632fc199-4ca6-4c93-a231-07263d6284db
- Loading branch information