Fix x/davs2 configure for recent binutils+gcc
This commit is contained in:
		
							parent
							
								
									cf6565ec66
								
							
						
					
					
						commit
						768ded56fa
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -33,6 +33,10 @@ ffbuild_dockerbuild() {
 | 
			
		|||
        return -1
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    # Work around configure endian check failing on modern gcc/binutils.
 | 
			
		||||
    # Assumes all supported archs are little endian.
 | 
			
		||||
    sed -i -e 's/EGIB/bss/g' -e 's/naidnePF/bss/g' configure
 | 
			
		||||
 | 
			
		||||
    ./configure "${myconf[@]}"
 | 
			
		||||
    make -j$(nproc)
 | 
			
		||||
    make install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,10 @@ ffbuild_dockerbuild() {
 | 
			
		|||
        return -1
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    # Work around configure endian check failing on modern gcc/binutils.
 | 
			
		||||
    # Assumes all supported archs are little endian.
 | 
			
		||||
    sed -i -e 's/EGIB/bss/g' -e 's/naidnePF/bss/g' configure
 | 
			
		||||
 | 
			
		||||
    ./configure "${myconf[@]}"
 | 
			
		||||
    make -j$(nproc)
 | 
			
		||||
    make install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue