diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index cf900dbed1..71e89a6664 100644 --- a/Library/Homebrew/extend/ENV/std.rb +++ b/Library/Homebrew/extend/ENV/std.rb @@ -53,8 +53,6 @@ module Stdenv self['CMAKE_FRAMEWORK_PATH'] = HOMEBREW_PREFIX/"Frameworks" end - self['PYTHONDONTWRITEBYTECODE'] = "1" if ARGV.build_bottle? - # Os is the default Apple uses for all its stuff so let's trust them set_cflags "-Os #{SAFE_CFLAGS_FLAGS}" diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 4879ab820f..cbfd3dd8cf 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -84,7 +84,6 @@ module Superenv self['CMAKE_LIBRARY_PATH'] = determine_cmake_library_path self['ACLOCAL_PATH'] = determine_aclocal_path self['M4'] = MacOS.locate("m4") if deps.include? "autoconf" - self['PYTHONDONTWRITEBYTECODE'] = "1" if ARGV.build_bottle? # The HOMEBREW_CCCFG ENV variable is used by the ENV/cc tool to control # compiler flag stripping. It consists of a string of characters which act