mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Android Dockerfile: ugly hack to deal with current NDK compile problems
As explained in commit 449d4ee33d ("Android build: add explanation for
huge hack").
It seems reasonable to add this to our Travis image as that is custom
made just to build our Android binaries.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
			
			
This commit is contained in:
		
							parent
							
								
									7eaffcf6fe
								
							
						
					
					
						commit
						bc23e37f01
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -31,6 +31,10 @@ ADD android-build-wrapper.sh variables.sh qt-installer-noninteractive.qs /androi | |||
| # run the build wrapper in prep mode | ||||
| RUN cd /android && bash -x /android/android-build-wrapper.sh -prep-only | ||||
| 
 | ||||
| # uggly hack to work around some breakage in the NDK which makes our | ||||
| # compiles fail | ||||
| RUN sed -i '313,+13s/^using/\/\/using/' /android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/include/cmath | ||||
| 
 | ||||
| # clean up the files that we don't need to keep the container smaller | ||||
| RUN cd /android && \ | ||||
|     rm -rf qt-opensource-linux-x64-*.run \ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue