mirror of https://github.com/hak5/openwrt-owl.git
tools/e2fsprogs: fix build with clang
Signed-off-by: Felix Fietkau <nbd@nbd.name>master
parent
033f02b9b5
commit
03c7c8c853
|
@ -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 += \
|
||||
|
|
Loading…
Reference in New Issue