ENV.rb: Generalize method for setting CPU flags
ENV.rb: Generalize method for setting CPU flags

All logic has been copied into a new method `set_cpu_flags` that accepts an
additional argument, `flags`, which contains a list of environment variables
for which the CPU flags are to be adjusted.

`set_cpu_cflags` now recalls `set_cpu_flags` and passes `cflags_flags` as the
first argument.

Signed-off-by: Charlie Sharpsteen <828d338a9b04221c9cbe286f50cd389f68de4ecf@sharpsteen.net>

aw1621107/brew,zmwangx/brew,zmwangx/brew,tonyg/homebrew,EricFromCanada/brew,mgrimes/brew,palxex/brew,sjackman/homebrew,alyssais/brew,DomT4/brew,DomT4/brew,gordonmcshane/homebrew,pseudocody/brew,claui/brew,vitorgalvao/brew,claui/brew,bfontaine/brew,JCount/brew,alyssais/brew,staticfloat/brew,nandub/brew,bfontaine/brew,EricFromCanada/brew,tonyg/homebrew,reelsense/brew,aw1621107/brew,tonyg/homebrew,muellermartin/dist,sjackman/homebrew,palxex/brew,amar-laksh/brew_sudo,reelsense/brew,Homebrew/brew,toonetown/homebrew,mgrimes/brew,reelsense/brew,MikeMcQuaid/brew,nandub/brew,jmsundar/brew,jmsundar/brew,vitorgalvao/brew,gordonmcshane/homebrew,amar-laksh/brew_sudo,staticfloat/brew,hanxue/linuxbrew,Homebrew/brew,MikeMcQuaid/brew,alyssais/brew,muellermartin/dist,gregory-nisbet/brew,claui/brew,DomT4/brew,maxim-belkin/brew,reitermarkus/brew,reitermarkus/brew,AnastasiaSulyagina/brew,nandub/brew,pseudocody/brew,konqui/brew,sjackman/homebrew,nandub/brew,konqui/brew,reitermarkus/brew,amar-laksh/brew_sudo,Homebrew/brew,mgrimes/brew,gregory-nisbet/brew,MikeMcQuaid/brew,ilovezfs/brew,Linuxbrew/brew,AnastasiaSulyagina/brew,Homebrew/brew,JCount/brew,sjackman/homebrew,jmsundar/brew,ilovezfs/brew,hanxue/linuxbrew,mahori/brew,AnastasiaSulyagina/brew,JCount/brew,gordonmcshane/homebrew,rwhogg/brew,EricFromCanada/brew,rwhogg/brew,konqui/brew,maxim-belkin/brew,palxex/brew,mistydemeo/homebrew,hanxue/linuxbrew,toonetown/homebrew,DomT4/brew,ilovezfs/brew,pseudocody/brew,mahori/brew,claui/brew,maxim-belkin/brew,konqui/brew,zmwangx/brew,JCount/brew,gregory-nisbet/brew,MikeMcQuaid/brew,vitorgalvao/brew,reitermarkus/brew,muellermartin/dist,Linuxbrew/brew,toonetown/homebrew,rwhogg/brew,mistydemeo/homebrew,EricFromCanada/brew,aw1621107/brew,staticfloat/brew,mahori/brew,mahori/brew,mistydemeo/homebrew,vitorgalvao/brew,Linuxbrew/brew,bfontaine/brew,Linuxbrew/brew