tce-load -i compiletc perl5 cd lm-sensors-3-4-0 find . -name Makefile -type f -exec sed -i 's/-O -g//g' {} \; find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" PREFIX=/usr/local ETCDIR=/usr/local/etc BUILD_STATIC_LIB=0 sudo make instal *** Important notes: *** * The libsensors configuration file (/usr/local/etc/sensors3.conf) is never *** overwritten by our installation process, so that you won't lose *** your personal settings in that file. You still can get our latest *** default config file in etc/sensors.conf.default and manually copy *** it to /usr/local/etc/sensors3.conf if you want. You will then want to *** edit it to fit your needs again. *** * The format of /usr/local/etc/sensors3.conf changed with lm-sensors 3.0.0. *** If you have a custom configuration file using the old format, you *** can convert it using the sensors-conf-convert script. Otherwise just *** overwrite your old configuration file with the new default one. *** * As of lm-sensors 3.1.0, the default configuration file only *** contains statements which do not depend on how chips are wired. *** If you miss parts of the bigger configuration file that used to be *** the default, copy the relevant parts from etc/sensors.conf.eg to *** /usr/local/etc/sensors3.conf.