Browse Source

minor tweaks

David Rose 16 years ago
parent
commit
048078701e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      dtool/pptempl/PostConfig.pp

+ 4 - 3
dtool/pptempl/PostConfig.pp

@@ -8,11 +8,13 @@
   #define IPH_VERSION 2.0
   #define IPH_VERSION 2.0
   
   
   #if $[eq $[IPH_PLATFORM], iPhoneOS]
   #if $[eq $[IPH_PLATFORM], iPhoneOS]
-    #define ARCH_FLAGS -arch armv6 -mapcs-frame
-    #define osflags -miphoneos-version-min=2.0 -mno-sched-prolog
+    #define ARCH_FLAGS -arch armv6
+    #define osflags -miphoneos-version-min=2.0
+    #define DEBUGFLAGS
   #elif $[eq $[IPH_PLATFORM], iPhoneSimulator]
   #elif $[eq $[IPH_PLATFORM], iPhoneSimulator]
     #define ARCH_FLAGS -arch i386
     #define ARCH_FLAGS -arch i386
     #define osflags -mmacosx-version-min=10.5
     #define osflags -mmacosx-version-min=10.5
+    #define DEBUGFLAGS -gdwarf-2
   #else
   #else
     #error Inappropriate value for BUILD_IPHONE.
     #error Inappropriate value for BUILD_IPHONE.
   #endif
   #endif
@@ -23,7 +25,6 @@
   #define CXX $[env] $[dev]/usr/bin/g++-4.0
   #define CXX $[env] $[dev]/usr/bin/g++-4.0
   #define OSX_CDEFS __IPHONE_OS_VERSION_MIN_REQUIRED=20000
   #define OSX_CDEFS __IPHONE_OS_VERSION_MIN_REQUIRED=20000
   #define OSX_CFLAGS -isysroot $[dev]/SDKs/$[IPH_PLATFORM]$[IPH_VERSION].sdk $[osflags]
   #define OSX_CFLAGS -isysroot $[dev]/SDKs/$[IPH_PLATFORM]$[IPH_VERSION].sdk $[osflags]
-  #define DEBUGFLAGS -gdwarf-2
 
 
   #defer ODIR_SUFFIX -$[IPH_PLATFORM]
   #defer ODIR_SUFFIX -$[IPH_PLATFORM]