translator
11,127
edits
(Created page with "# -march=native также устанавливает правильную -mtune= CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOUR...") |
|||
Line 12: | Line 12: | ||
The {{ic|MAKEFLAGS}}, {{ic|CFLAGS}}, and {{ic|CXXFLAGS}} options are used by {{ic|make}}, {{ic|gcc}}, and {{ic|g++}} whilst compiling software with makepkg. By default, these options generate generic packages that can be installed on a wide range of machines. A performance improvement can be achieved by tuning compilation for the host machine. The downside is that packages compiled specifically for the compiling host's processor may not run on other machines. | The {{ic|MAKEFLAGS}}, {{ic|CFLAGS}}, and {{ic|CXXFLAGS}} options are used by {{ic|make}}, {{ic|gcc}}, and {{ic|g++}} whilst compiling software with makepkg. By default, these options generate generic packages that can be installed on a wide range of machines. A performance improvement can be achieved by tuning compilation for the host machine. The downside is that packages compiled specifically for the compiling host's processor may not run on other machines. | ||
{{ | {{BoxInfo|Примечание|Имейте в виду, что не все системы сборки пакетов будут использовать экспортированные вами переменные. Некоторые переопределяют их в исходных Make-файлах или [[PKGBUILD]].}} | ||
{{hc|/etc/makepkg.conf|<nowiki> | {{hc|/etc/makepkg.conf|<nowiki> |