From a7ef7c60c715b930778bcff8ce9fa5bee2600d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 6 Mar 2016 18:20:51 +0100 Subject: [PATCH] Do not pass -Ofast to pathscale toolset Do not pass -Ofast when using the pathscale toolset. It enables insecure optimizations, and that is probably why no other toolset uses this option. It also causes internal compiler problems with current pathcc versions. --- src/engine/build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/build.jam b/src/engine/build.jam index 787b230..ad2ea35 100644 --- a/src/engine/build.jam +++ b/src/engine/build.jam @@ -304,7 +304,7 @@ toolset qcc qcc : "-o " : -D ## Qlogic Pathscale 2.4 toolset pathscale pathcc : "-o " : -D : - [ opt --release : -s -Ofast -O3 ] + [ opt --release : -s -O3 ] [ opt --debug : -g ] -I$(--python-include) -I$(--extra-include) : -L$(--python-lib[1]) -l$(--python-lib[2]) ; -- 2.7.2