diff options
| author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-03-16 18:44:18 +0000 |
|---|---|---|
| committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-03-16 18:44:18 +0000 |
| commit | 8a46c067ed8d06b953fd94a4089a9168c3f82bb2 (patch) | |
| tree | fa9af1326f3820bbbc34d6842aa7eebc38639c4c /clang/lib/Sema/AttributeList.cpp | |
| parent | b5a20f0fec5a656196180d946136bb2a952841b9 (diff) | |
| download | bcm5719-llvm-8a46c067ed8d06b953fd94a4089a9168c3f82bb2.tar.gz bcm5719-llvm-8a46c067ed8d06b953fd94a4089a9168c3f82bb2.zip | |
[CMake] Fix Windows build problem for CMake versions < 3.3
Building libomp using CMake versions < 3.3 caused a link time error. These
errors occurred because when assembling z_Windows_NT-586_asm.asm, the
definitions: OMPT_SUPPORT, _M_AMD64|_M_IA32 weren't defined on the command line.
To fix the problem, the COMPILE_FLAGS property for the assembly file is appended
to instead of the COMPILE_DEFINITIONS property being set. For whatever reason, the
COMPILE_DEFINITIONS property doesn't pick up the definitions for assembly files
for the older CMake versions.
llvm-svn: 263651
Diffstat (limited to 'clang/lib/Sema/AttributeList.cpp')
0 files changed, 0 insertions, 0 deletions

