mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 02:15:10 +00:00 
			
		
		
		
	Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options. By setting OPT, some compiler-specific options like -fwrapv were overridden and thus not used, which could result in broken interpreters when building with clang.
This commit is contained in:
		
							parent
							
								
									87adb6ef38
								
							
						
					
					
						commit
						29eec66711
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -952,7 +952,7 @@ def buildPython(): | ||||||
|                "--with-universal-archs=%s " |                "--with-universal-archs=%s " | ||||||
|                "%s " |                "%s " | ||||||
|                "LDFLAGS='-g -L%s/libraries/usr/local/lib' " |                "LDFLAGS='-g -L%s/libraries/usr/local/lib' " | ||||||
|                "OPT='-g -O3 -I%s/libraries/usr/local/include' 2>&1"%( |                "CFLAGS='-g -I%s/libraries/usr/local/include' 2>&1"%( | ||||||
|         shellQuote(os.path.join(SRCDIR, 'configure')), shellQuote(SDKPATH), |         shellQuote(os.path.join(SRCDIR, 'configure')), shellQuote(SDKPATH), | ||||||
|         UNIVERSALARCHS, |         UNIVERSALARCHS, | ||||||
|         (' ', '--with-computed-gotos ')[PYTHON_3], |         (' ', '--with-computed-gotos ')[PYTHON_3], | ||||||
|  |  | ||||||
|  | @ -196,6 +196,11 @@ Build | ||||||
|     3. -sysroot and -arch flags were unnecessarily duplicated |     3. -sysroot and -arch flags were unnecessarily duplicated | ||||||
|     4. there was no obvious way to configure an intel-32 only build. |     4. there was no obvious way to configure an intel-32 only build. | ||||||
| 
 | 
 | ||||||
|  | - Issue #19019: Change the OS X installer build script to use CFLAGS instead | ||||||
|  |   of OPT for special build options.  By setting OPT, some compiler-specific | ||||||
|  |   options like -fwrapv were overridden and thus not used, which could result | ||||||
|  |   in broken interpreters when building with clang. | ||||||
|  | 
 | ||||||
| What's New in Python 3.4.0 Alpha 3? | What's New in Python 3.4.0 Alpha 3? | ||||||
| =================================== | =================================== | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ned Deily
						Ned Deily