forked from hasufell/hasufell-repository
		
	dev-libs/mbedtls: add x86_cpu_features:sse2
This commit is contained in:
		
							parent
							
								
									9920c61659
								
							
						
					
					
						commit
						317c7685d3
					
				@ -15,6 +15,8 @@ MYOPTIONS="
 | 
			
		||||
    havege [[ description = [ Enable the HAVEGE random generator,
 | 
			
		||||
                              not suitable for virtualized environments! ] ]]
 | 
			
		||||
    threads
 | 
			
		||||
    x86_cpu_features:
 | 
			
		||||
        sse2
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
DEPENDENCIES="
 | 
			
		||||
@ -48,6 +50,7 @@ enable_mbedtls_option() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_prepare() {
 | 
			
		||||
    option x86_cpu_features:sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2
 | 
			
		||||
    enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT
 | 
			
		||||
    option havege && enable_mbedtls_option MBEDTLS_HAVEGE_C
 | 
			
		||||
    option threads && enable_mbedtls_option MBEDTLS_THREADING_C
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user