From: Michael Tremer Date: Mon, 4 Mar 2019 17:20:52 +0000 (+0000) Subject: boost: Build with -O2 only X-Git-Tag: v2.23-core131~150 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=9ff5b381eb8a4e129978c34f969e312c302ea7b1 boost: Build with -O2 only This should increase build speed Signed-off-by: Michael Tremer --- diff --git a/lfs/boost b/lfs/boost index 50a3a46746..da657167a2 100644 --- a/lfs/boost +++ b/lfs/boost @@ -32,8 +32,8 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -CFLAGS += -O3 -fno-strict-aliasing -CXXFLAGS += -O3 -fno-strict-aliasing +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing # The compiler uses a lot of memory to compile boost, hence we reduce # the total number of processes a little bit to be able to build on