Open Quuxplusone opened 4 years ago
Bugzilla Link | PR47163 |
Status | NEW |
Importance | P release blocker |
Reported by | solo turn (soloturn@gmail.com) |
Reported on | 2020-08-13 19:54:18 -0700 |
Last modified on | 2020-09-12 12:42:42 -0700 |
Version | unspecified |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
the export needs to be
$ export CC=clang
$ export CXX=clang++
$ makepkg -s
then it fails. if the variables are not set it takes the default, g++, and
compiles.
the command executed can be seen in the PKGBUILD file,
https://github.com/archlinux/svntogit-packages/blob/packages/compiler-rt/trunk/PKGBUILD
cd "$srcdir/$pkgname-$pkgver.src/build"
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
ninja
unsetting the arch linux default flag:
CPPFLAGS="-D_FORTIFY_SOURCE=2"
makes it build.