-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacmakeBuild system in general and CMake in particularBuild system in general and CMake in particular
Description
| Bugzilla Link | 3882 |
| Resolution | FIXED |
| Resolved on | Feb 22, 2010 12:56 |
| Version | 2.5 |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @asl,@oscarfv |
Extended Description
In order to be able to compile something using the LLVM header files it is neccessary (at least on GCC + GNU/Linux) that some preprocessor definitions are included:
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
When using the autoconf-based build system in LLVM 2.4 these where properly defined. With the cmake-based system (which is otherwise very good and integrates nicely in OpenEmbedded) these definitions are missing causing build errors in projects that compile against the LLVM headers.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacmakeBuild system in general and CMake in particularBuild system in general and CMake in particular