crackxls: do not use march=native and mtune=native
patch is from @dezgeg and is contained in #8530
This commit is contained in:
		
							parent
							
								
									913dc46a2c
								
							
						
					
					
						commit
						3c47a9980c
					
				@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
 | 
			
		||||
 | 
			
		||||
  buildInputs = [ pkgconfig autoconf automake openssl libgsf gmp ];
 | 
			
		||||
 | 
			
		||||
  patchPhase = ''
 | 
			
		||||
    substituteInPlace Makefile.in \
 | 
			
		||||
      --replace '-march=native' "" \
 | 
			
		||||
      --replace '-mtune=native' ""
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  installPhase =
 | 
			
		||||
  ''
 | 
			
		||||
    mkdir $out/bin
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user