forked from OSchip/llvm-project
[profile] Pass extra build flags (feature enabling macros) to Darwin build
Differential Revision: http://reviews.llvm.org/D21119 llvm-svn: 272162
This commit is contained in:
parent
7a03de5210
commit
f88d3b9afb
|
@ -82,6 +82,7 @@ if(APPLE)
|
|||
STATIC
|
||||
OS ${PROFILE_SUPPORTED_OS}
|
||||
ARCHS ${PROFILE_SUPPORTED_ARCH}
|
||||
CFLAGS ${EXTRA_FLAGS}
|
||||
SOURCES ${PROFILE_SOURCES}
|
||||
PARENT_TARGET profile)
|
||||
else()
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
#else
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#if defined(__linux__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue