]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
boost: Properly use CFLAGS & CXXFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Jun 2017 14:43:01 +0000 (15:43 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jun 2017 18:31:50 +0000 (19:31 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/boost

index 6c47f582b2427a14abbdf1752bb27a7f75a1f8bf..24cfbdc853ad4bd77d6a850f1c29bbfa76fca400 100644 (file)
--- a/lfs/boost
+++ b/lfs/boost
@@ -32,8 +32,8 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
-CFLAGS    += -fno-strict-aliasing
-CXXFLAGS  += -fno-strict-aliasing
+CFLAGS    += -O3 -fno-strict-aliasing
+CXXFLAGS  += -O3 -fno-strict-aliasing
 
 CONFIGURE_OPTIONS = \
        --prefix=/usr \
@@ -41,12 +41,12 @@ CONFIGURE_OPTIONS = \
        --without-mpi \
        --without-graph_parallel \
        --build-dir=serial \
-       cflags="$(CFLAGS)" \
-       cxxflags="$(CXXFLAGS)" \
        variant=release \
        threading=single,multi \
        debug-symbols=off \
-       pch=off
+       pch=off \
+       cflags="$(CFLAGS)" \
+       cxxflags="$(CXXFLAGS)"
 
 MAKETUNING = -j2