tools/e2fsprogs: fix build with clang

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2018-09-15 15:49:31 +02:00
parent 033f02b9b5
commit 03c7c8c853

View file

@ -20,6 +20,9 @@ HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
ifneq ($(shell $(HOSTCC) --version | grep clang),)
HOST_CFLAGS += -D__GNUC_PREREQ\(...\)=0
endif
HOST_CFLAGS += $(FPIC) HOST_CFLAGS += $(FPIC)
HOST_CONFIGURE_ARGS += \ HOST_CONFIGURE_ARGS += \