On Wed, Sep 04, 2019 at 11:28:34PM +0000, Pirama Arumuga Nainar via Phabricator via cfe-commits wrote: > pirama created this revision. > pirama added reviewers: Hahnfeld, danalbert, srhines, joerg. > Herald added a subscriber: guansong. > Herald added a reviewer: jdoerfert. > Herald added a project: clang. > > This option forces linking with the static OpenMP host runtime (similar > to -static-libgcc and -static-libstdcxx). > > Android's NDK will start the shared OpenMP runtime in addition to the static > libomp. In this scenario, the linker will prefer to use the shared library by > default. Add this option to enable linking with the static libomp.
Needs testing for the -static interaction? Joerg _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits