LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Makepkg makepkg.conf Optimizations

Posted 03-12-2016 at 05:59 AM by ugjka
Updated 03-12-2016 at 10:07 AM by ugjka

Here are my /etc/makepkg.conf Optimizations

Makepkg.conf is used whenever you build a package from the Aur or any other source. (makepkg -si)

1) Set -march and -mtune to native to optimize packages to your CPU architecture.
Do not fiddle with this if you are building packages for someone else who has different CPU

Code:
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native
...
Member
Views 1412 Comments 0 ugjka is offline

  



All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration