HomePhabricator

[cmake] Use -std=gnu++11 to fix alloca() on NetBSD

Description

[cmake] Use -std=gnu++11 to fix alloca() on NetBSD

Prefer using '-std=gnu++11' over '-std=c++11' when available, as NetBSD
exposes the correct alloca() implementation only with gnu* C/C++
standards.

Differential Revision: https://reviews.llvm.org/D55477

Details

Committed
mgornyDec 11 2018, 7:39 AM
Differential Revision
D55477: [openmp] [cmake] Use -std=gnu++11 to fix alloca() on NetBSD
Branches
Unknown
Tags
Unknown