CXXFLAGS+= -Wno-error=format-truncation
-ifeq "$(BUILD_ARCH)" "armv5tel"
- LDFLAGS += -latomic
-endif
-
ifeq "$(BUILD_ARCH)" "riscv64"
LDFLAGS += -latomic
endif
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/squid-gcc11.patch
cd $(DIR_APP) && autoreconf -vfi
cd $(DIR_APP)/libltdl && autoreconf -vfi