 0cbe94256e
			
		
	
	0cbe94256e
	
	
	
		
			
			It turns out that having "-g" in the compile-statement causes Emscripten to pick -g3, which makes for very big binaries. This is very likely not your intention when building Emscripten, as smaller really is better. For comparison, with RelWithDebInfo the binary is ~80MB. With Release it is ~7.4MB.
		
			
				
	
	
		
			5 lines
		
	
	
		
			127 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			127 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM emscripten/emsdk:2.0.34
 | |
| 
 | |
| COPY emsdk-liblzma.patch /
 | |
| RUN cd /emsdk/upstream/emscripten && patch -p1 < /emsdk-liblzma.patch
 |