[iphonedisk] r105 committed - Apply a patch from znek that gives you the option of compiling with a ...

1 view
Skip to first unread message

iphon...@googlecode.com

unread,
Oct 10, 2010, 9:18:08 PM10/10/10
to iphon...@googlegroups.com
Revision: 105
Author: allen.porter
Date: Sun Oct 10 18:17:08 2010
Log: Apply a patch from znek that gives you the option of compiling with a
different
architecture (such as ppc).


http://code.google.com/p/iphonedisk/source/detail?r=105

Modified:
/trunk/SConstruct

=======================================
--- /trunk/SConstruct Sat Oct 9 22:21:58 2010
+++ /trunk/SConstruct Sun Oct 10 18:17:08 2010
@@ -1,9 +1,14 @@
env = Environment(CCFLAGS = '-Werror -Wall -I. ')
Export('env')

+arch = ARGUMENTS.get('arch')
+if arch:
+ env.Append(CCFLAGS = '-arch %s ' % arch)
+ env.Append(LINKFLAGS = '-arch %s ' % arch)
+
mode = ARGUMENTS.get('mode', 'release')
if not (mode in ['debug', 'release']):
- print "Error: expected 'debug' or 'release', found: " + mymode
+ print "Error: expected 'debug' or 'release', found: " + mode
Exit(1)

if mode == 'debug':

Reply all
Reply to author
Forward
0 new messages