mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Remove CREW_CMAKE_FNO_LTO_OPTIONS (#9976)
This commit is contained in:
committed by
GitHub
parent
d7e8f67f2d
commit
2c346f9ce1
@@ -5,7 +5,7 @@ class CMake < Package
|
||||
|
||||
def self.build
|
||||
@cmake_build_relative_dir ||= '.'
|
||||
@crew_cmake_options = @no_lto ? CREW_CMAKE_FNO_LTO_OPTIONS : CREW_CMAKE_OPTIONS
|
||||
@crew_cmake_options = @no_lto ? CREW_CMAKE_OPTIONS.gsub('-flto=auto', '-fno-lto').sub('-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=TRUE', '') : CREW_CMAKE_OPTIONS
|
||||
puts 'Additional cmake options being used:'.orange
|
||||
method_list = methods.grep(/cmake_/).delete_if { |i| send(i).blank? }
|
||||
method_list.each do |method|
|
||||
|
||||
Reference in New Issue
Block a user