You are not logged in.

#1 2015-02-18 06:21:01

justinzane
Member
From: Weed, CA, US
Registered: 2013-07-19
Posts: 19
Website

(Almost) Completely Reliable Method of Building AUR Pkgs with Clang

The concise wiki directions to add `export CC=clang\nexport CXX=clang++` to makepkg.conf fails to address the unfortunate plethora of pkgbuilds that include GCC specific build options or otherwise prevent this from working.

Since, at this point, there are very few sources that actually will not build with clang and appropriate options; there has to be a way to "help" pkgbuilds adapt to clang/clang++. My suspicion is that some sort of standard regex replacements of incompatible options should help many of the simpler cases; but I am far from actual knowledge on this point.

Has anyone gotten a `makepkg.conf` + ??? setup to work reasonably well?

Offline

Board footer

Powered by FluxBB