forked from AUR/firedragon
		
	Add suggested changes from @nekosan
This commit is contained in:
		
							
								
								
									
										6
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								PKGBUILD
									
									
									
									
									
								
							@@ -145,6 +145,7 @@ ac_add_options --enable-application=browser
 | 
				
			|||||||
mk_add_options MOZ_OBJDIR=${PWD@Q}/obj
 | 
					mk_add_options MOZ_OBJDIR=${PWD@Q}/obj
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ac_add_options --prefix=/usr
 | 
					ac_add_options --prefix=/usr
 | 
				
			||||||
 | 
					ac_add_options --enable-linker=lld
 | 
				
			||||||
ac_add_options --enable-release
 | 
					ac_add_options --enable-release
 | 
				
			||||||
ac_add_options --enable-hardening
 | 
					ac_add_options --enable-hardening
 | 
				
			||||||
ac_add_options --enable-rust-simd
 | 
					ac_add_options --enable-rust-simd
 | 
				
			||||||
@@ -159,6 +160,7 @@ export OBJCOPY='/usr/bin/llvm-objcopy'
 | 
				
			|||||||
export RANLIB=llvm-ranlib
 | 
					export RANLIB=llvm-ranlib
 | 
				
			||||||
export STRIP=llvm-strip
 | 
					export STRIP=llvm-strip
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Branding
 | 
					# Branding
 | 
				
			||||||
ac_add_options --enable-update-channel=release
 | 
					ac_add_options --enable-update-channel=release
 | 
				
			||||||
ac_add_options --with-app-name=${pkgname}
 | 
					ac_add_options --with-app-name=${pkgname}
 | 
				
			||||||
@@ -264,8 +266,8 @@ build() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  # -fno-plt with cross-LTO causes obscure LLVM errors
 | 
					  # -fno-plt with cross-LTO causes obscure LLVM errors
 | 
				
			||||||
  # LLVM ERROR: Function Import: link error
 | 
					  # LLVM ERROR: Function Import: link error
 | 
				
			||||||
  # CFLAGS="${CFLAGS/-fno-plt/}"
 | 
					  CFLAGS="${CFLAGS/-fno-plt/}"
 | 
				
			||||||
  # CXXFLAGS="${CXXFLAGS/-fno-plt/}"
 | 
					  CXXFLAGS="${CXXFLAGS/-fno-plt/}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Do 3-tier PGO
 | 
					  # Do 3-tier PGO
 | 
				
			||||||
  echo "Building instrumented browser..."
 | 
					  echo "Building instrumented browser..."
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user