Indeed once can compile for carrizo also using clang.

This commit is contained in:
J M Dieterich
2017-05-16 22:03:23 -04:00
parent 5fa4e9439c
commit f5131e1e49

View File

@@ -47,9 +47,12 @@ ifeq ($(CC),)
CC := gcc
CC_VENDOR := gcc
endif
ifneq ($(CC_VENDOR),gcc)
ifeq ($(CC_VENDOR),gcc)
ifeq ($(CC_VENDOR),clang)
else
$(error gcc is required for this configuration.)
endif
endif
# Enable IEEE Standard 1003.1-2004 (POSIX.1d).
# NOTE: This is needed to enable posix_memalign().
CPPROCFLAGS := -D_POSIX_C_SOURCE=200112L