mirror of
				https://github.com/Ryujinx/GtkSharp.git
				synced 2025-11-04 13:24:48 +00:00 
			
		
		
		
	build: Remove obsolete gcc flag when building on Windows
The -mno-cygwin parameter has been obsolete for quite some time. It is now gone in recent gcc version, causing an error when you try to use it. My understanding that gcc now does the right thing automatically.
This commit is contained in:
		
							parent
							
								
									2fcd276b9c
								
							
						
					
					
						commit
						84993d237f
					
				| 
						 | 
					@ -27,7 +27,7 @@ case "$host" in
 | 
				
			||||||
		AC_MSG_RESULT([yes, 64-bit])
 | 
							AC_MSG_RESULT([yes, 64-bit])
 | 
				
			||||||
		AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
 | 
							AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
 | 
				
			||||||
		if test "x$cross_compiling" = "xno"; then
 | 
							if test "x$cross_compiling" = "xno"; then
 | 
				
			||||||
			CC="gcc -mno-cygwin -g"
 | 
								CC="gcc -g"
 | 
				
			||||||
			HOST_CC="gcc"
 | 
								HOST_CC="gcc"
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
| 
						 | 
					@ -36,7 +36,7 @@ case "$host" in
 | 
				
			||||||
		AC_MSG_RESULT([yes, 32-bit])
 | 
							AC_MSG_RESULT([yes, 32-bit])
 | 
				
			||||||
		AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
 | 
							AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
 | 
				
			||||||
		if test "x$cross_compiling" = "xno"; then
 | 
							if test "x$cross_compiling" = "xno"; then
 | 
				
			||||||
			CC="gcc -mno-cygwin -g"
 | 
								CC="gcc -g"
 | 
				
			||||||
			HOST_CC="gcc"
 | 
								HOST_CC="gcc"
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue