diff --git a/config/carrizo/make_defs.mk b/config/carrizo/make_defs.mk index 121b6c5e0..ef6435498 100644 --- a/config/carrizo/make_defs.mk +++ b/config/carrizo/make_defs.mk @@ -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