gnu: qtbase: Update configure flags.
* gnu/packages/qt.scm (qtbase)[arguments]: Change the configure flags to not use the precompiled headers. Enable x86_64 special hardware instructions which have runtime detection.
This commit is contained in:
		
							parent
							
								
									04f8decf1f
								
							
						
					
					
						commit
						4e825e2da3
					
				
					 1 changed files with 4 additions and 8 deletions
				
			
		| 
						 | 
					@ -468,19 +468,15 @@ developers using C++ or QML, a CSS & JavaScript like language.")
 | 
				
			||||||
                       "-openssl-linked"
 | 
					                       "-openssl-linked"
 | 
				
			||||||
                       ;; explicitly link with dbus instead of dlopening it
 | 
					                       ;; explicitly link with dbus instead of dlopening it
 | 
				
			||||||
                       "-dbus-linked"
 | 
					                       "-dbus-linked"
 | 
				
			||||||
                       ;; drop special machine instructions not supported
 | 
					                       ;; don't use the precompiled headers
 | 
				
			||||||
                       ;; on all instances of the target
 | 
					                       "-no-pch"
 | 
				
			||||||
 | 
					                       ;; drop special machine instructions that do not have
 | 
				
			||||||
 | 
					                       ;; runtime detection
 | 
				
			||||||
                       ,@(if (string-prefix? "x86_64"
 | 
					                       ,@(if (string-prefix? "x86_64"
 | 
				
			||||||
                                             (or (%current-target-system)
 | 
					                                             (or (%current-target-system)
 | 
				
			||||||
                                                 (%current-system)))
 | 
					                                                 (%current-system)))
 | 
				
			||||||
                             '()
 | 
					                             '()
 | 
				
			||||||
                             '("-no-sse2"))
 | 
					                             '("-no-sse2"))
 | 
				
			||||||
                       "-no-sse3"
 | 
					 | 
				
			||||||
                       "-no-ssse3"
 | 
					 | 
				
			||||||
                       "-no-sse4.1"
 | 
					 | 
				
			||||||
                       "-no-sse4.2"
 | 
					 | 
				
			||||||
                       "-no-avx"
 | 
					 | 
				
			||||||
                       "-no-avx2"
 | 
					 | 
				
			||||||
                       "-no-mips_dsp"
 | 
					                       "-no-mips_dsp"
 | 
				
			||||||
                       "-no-mips_dspr2")))))
 | 
					                       "-no-mips_dspr2")))))
 | 
				
			||||||
         (add-after 'install 'patch-qt_config.prf
 | 
					         (add-after 'install 'patch-qt_config.prf
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue