Total Pageviews

Wednesday, 16 March 2016

如何取消用export所设置的环境变量

export -n [變量名稱]=[變量設置值]

比如之前 设置了环境变量:export CFLAGS=”-fno-strict-aliasing”

那么取消时,在 export后加个"-n",运行即可:

export -n CFLAGS=”-fno-strict-aliasing”

from http://www.powenko.com/wordpress/?p=4737