tools/e2fsprogs: fix build with clang

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 2018-09-15 15:49:31 +02:00
parent 033f02b9b5
commit 03c7c8c853
1 changed files with 3 additions and 0 deletions

View File

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