diff options
| author | Dominyk Tiller | 2015-03-03 15:24:51 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2015-04-09 08:50:51 +0100 | 
| commit | 44d036703b367de32cb6281f48332f7b69016876 (patch) | |
| tree | 9a7d1bfa01dec6f916b32b09e51d57253230d18d /Library/Homebrew | |
| parent | b48f83f5c4d6b3e6b8b7cd9394002245d88a6c7f (diff) | |
| download | homebrew-44d036703b367de32cb6281f48332f7b69016876.tar.bz2 | |
cmake: adjust standard built type
Moves from None to Release, but comments out the standard release
CFLAGS so we can continue using our own.
Bumped Libgit2 as an example/test to play with.
Closes #37332, hopefully.
Closes #37361.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9154ecc89..7963ba876 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -466,8 +466,6 @@ class Formula    end    # Standard parameters for CMake builds. -  # Using Build Type "None" tells cmake to use our CFLAGS,etc. settings. -  # Setting it to Release would ignore our flags.    # Setting CMAKE_FIND_FRAMEWORK to "LAST" tells CMake to search for our    # libraries before trying to utilize Frameworks, many of which will be from    # 3rd party installs. @@ -475,8 +473,10 @@ class Formula    # less consistent and the standard parameters are more memorable.    def std_cmake_args      %W[ +      -DCMAKE_C_FLAGS_RELEASE= +      -DCMAKE_CXX_FLAGS_RELEASE=        -DCMAKE_INSTALL_PREFIX=#{prefix} -      -DCMAKE_BUILD_TYPE=None +      -DCMAKE_BUILD_TYPE=Release        -DCMAKE_FIND_FRAMEWORK=LAST        -DCMAKE_VERBOSE_MAKEFILE=ON        -Wno-dev  | 
