Hi, rad by som si trvalo nastavil premennu prostredia CFLAGS. Vlozil som teda tento riadok do /etc/rc.local, ktory sa spusta ako posledny skript v kazdom multi-user runlevel (aspon to tak tvrdi dokumentacia):
export CFLAGS="-march=i686 -mfpmath=sse -msse2 -O3 -pipe -s -fomit-frame-pointer"
cely subor potom vypada takto:
#!/bin/sh -e
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
export CFLAGS="-march=i686 -mfpmath=sse -msse2 -O3 -pipe -s -fomit-frame-pointer"
exit 0
ex bit je samozrejme nastaveny, ale premenna sa neexportuje. Ako na to?
THX.