LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 2812 Comments 0 ugjka is offline

  



All times are GMT -5. The time now is 01:44 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
Open Source Consulting | Domain Registration