]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/squid
toolchain: update to gcc-7.3.0 and enable retpolines on x86_64 and i586
[ipfire-2.x.git] / lfs / squid
index 3390f96d59a12c1ed746fcd545cf776bb247537a..f93097019ea3cbc8bcc120d1d3c221d83483b8c6 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -32,6 +32,8 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+CXXFLAGS+= -Wno-error=format-truncation
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -77,7 +79,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && autoreconf -vfi
        cd $(DIR_APP)/libltdl && autoreconf -vfi
 
-       cd $(DIR_APP) && ./configure \
+       cd $(DIR_APP) && CXXFLAGS="$(CXXFLAGS)" ./configure \
                --prefix=/usr \
                --sysconfdir=/etc/squid \
                --datadir=/usr/lib/squid \