Fix build
This commit is contained in:
		
				
					committed by
					
						 CodingWorkshop Signing Team
						CodingWorkshop Signing Team
					
				
			
			
				
	
				
						parent
						
							27ef533511
						
					
				
				
					commit
					5af8f058bb
				
			
							
								
								
									
										8
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								build.sh
									
									
									
									
									
								
							| @@ -211,6 +211,7 @@ llvm_fetch() | ||||
| # This function compiles and installs NINJA | ||||
| ninja_build() | ||||
| { | ||||
|     local EXTENSION="" | ||||
|     local NINJA_CXX_COMPILER="" | ||||
|     local NINJA_PLATFORM="" | ||||
|  | ||||
| @@ -220,6 +221,7 @@ ninja_build() | ||||
|     # Additional, target-specific configuration options | ||||
|     case "${SYSTEM_NAME}" in | ||||
|         Windows) | ||||
|             EXTENSION=".exe" | ||||
|             NINJA_CXX_COMPILER="${SYSTEM_HOST}-g++" | ||||
|             NINJA_PLATFORM="mingw" | ||||
|             ;; | ||||
| @@ -235,7 +237,7 @@ ninja_build() | ||||
|     cd ${NINJADIR}/build-${SYSTEM_NAME} | ||||
|     CXX=${NINJA_CXX_COMPILER} ../configure.py --platform=${NINJA_PLATFORM} | ||||
|     ninja | ||||
|     install ninja ${BINDIR}/bin/ | ||||
|     install ninja${EXTENSION} ${BINDIR}/bin/ | ||||
|     cd ${WRKDIR} | ||||
| } | ||||
|  | ||||
| @@ -327,7 +329,7 @@ wine_build() | ||||
|         ${CONFIGURE_PARAMETERS} | ||||
|     for TOOL in widl wmc wrc; do | ||||
|         make -j20 tools/${TOOL}/all | ||||
|         cp tools/${TOOL}/${TOOL}${ENTENSION} ${BINDIR}/bin/ | ||||
|         cp tools/${TOOL}/${TOOL}${EXTENSION} ${BINDIR}/bin/ | ||||
|     done | ||||
|     cd ${WRKDIR} | ||||
| } | ||||
| @@ -350,7 +352,7 @@ xtchain_build() | ||||
|     # Target-specific configuration options | ||||
|     case "${SYSTEM_NAME}" in | ||||
|         Windows) | ||||
|             CCOMPILER="${SYSTEM_HOST-gcc}" | ||||
|             CCOMPILER="${SYSTEM_HOST}-gcc" | ||||
|             EXTENSION=".ps1" | ||||
|             ;; | ||||
|         *) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user