tools/e2fsprogs: fix build with clang
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
033f02b9b5
commit
03c7c8c853
1 changed files with 3 additions and 0 deletions
|
@ -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 += \
|
||||||
|
|
Loading…
Reference in a new issue