tunghathanh / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

gyp includes -arch parameters from xcode_emulation on mac with the makefile generator #355

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Gyp includes the -arch parameters from xcode_emulation with the makefile 
generator when the flavour is set to mac, and cannot be removed. (It can be 
modified by setting ARCHS, but not completely removed - it will default to i386 
if not set). 

This prohibits using a compiler that does not support the -arch flag as it is 
an apple-specific extension to gcc, therefore prohibiting cross-compiling with 
e.g. arm-linux-androideabi-gcc (from the Android NDK).

Please consider adding a flag to remove the -arch flag, similar in the manner 
to which -fasm-blocks can be removed by setting GCC_CW_ASM_SYNTAX to NO.

Original issue reported on code.google.com by adman.com@gmail.com on 10 Jul 2013 at 7:54

GoogleCodeExporter commented 9 years ago
You try using: "gyp -f make-linux" to force linux flavor when x-compiling.

Original comment by bruherr...@gmail.com on 6 Dec 2014 at 3:04