forked from mirrors/gecko-dev
		
	 5b70ea834b
			
		
	
	
		5b70ea834b
		
	
	
	
	
		
			
			MozReview-Commit-ID: Ig9xpBDcjNu --HG-- extra : rebase_source : 278bd4fffb82d12e1bc4eb72458bdac3ba62e11f
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			890 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			890 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Disable codesign for macosx cross-compile toolchain. Codesign only works on OSX.
 | |
| 
 | |
| Index: cmake/Modules/AddCompilerRT.cmake
 | |
| ===================================================================
 | |
| --- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake	(revision 312553)
 | |
| +++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake	(working copy)
 | |
| @@ -224,14 +224,6 @@
 | |
|          set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
 | |
|          set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")
 | |
|        endif()
 | |
| -      if(APPLE)
 | |
| -        # Ad-hoc sign the dylibs
 | |
| -        add_custom_command(TARGET ${libname}
 | |
| -          POST_BUILD  
 | |
| -          COMMAND codesign --sign - $<TARGET_FILE:${libname}>
 | |
| -          WORKING_DIRECTORY ${COMPILER_RT_LIBRARY_OUTPUT_DIR}
 | |
| -        )
 | |
| -      endif()
 | |
|      endif()
 | |
|      install(TARGETS ${libname}
 | |
|        ARCHIVE DESTINATION ${COMPILER_RT_LIBRARY_INSTALL_DIR}
 |