compiler-rt: cmake: use our FLAGS

This commit is contained in:
Juergen Daubert 2020-11-21 14:27:02 +00:00
parent 9eb8ca8063
commit 75d19ca705
2 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/eZyFe3u+Y3uPCJnQovitITMaY7GKHkt08hn9I8R6+bxqpQ6A+3Rkla3JXFILhKgETrOz7j7U0JopGJhNM8AAQ4= RWSE3ohX2g5d/QDsYM325PqpYirmKeYXz/fvZHy8LbVVFLg1ltk0oelPFbW8NjSUlxfIi3Ki0WotdtKGLt6bg7tZFrQ2kZsagwM=
SHA256 (Pkgfile) = 273145140bf6d33cf9baf77ffac7cea8dd03bbafcad8d7e066963959a49b6d36 SHA256 (Pkgfile) = 3654772c9d081f1727608dfe58af914e5e18fb06245eee2e7de0c0f7836b9a0d
SHA256 (.footprint) = 3ced0f0c2e854514df8cb5a68ab818088865c0b2869de6c4ecf43aafb37605f8 SHA256 (.footprint) = 3ced0f0c2e854514df8cb5a68ab818088865c0b2869de6c4ecf43aafb37605f8
SHA256 (compiler-rt-11.0.0.src.tar.xz) = 374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234 SHA256 (compiler-rt-11.0.0.src.tar.xz) = 374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234

View File

@ -13,8 +13,9 @@ build() {
-D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_PREFIX=/usr \
-D COMPILER_RT_INSTALL_PATH=/usr/lib/clang/$version \ -D COMPILER_RT_INSTALL_PATH=/usr/lib/clang/$version \
-D CMAKE_BUILD_TYPE=Release \ -D CMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-Wno-dev -Wno-dev
ninja -C build cmake --build build
DESTDIR=$PKG ninja -C build install DESTDIR=$PKG cmake --install build
} }