From a7ef7c60c715b930778bcff8ce9fa5bee2600d6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
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
|
b
|
toolset qcc qcc : "-o " : -D
|
304 | 304 | ## Qlogic Pathscale 2.4 |
305 | 305 | toolset pathscale pathcc : "-o " : -D |
306 | 306 | : |
307 | | [ opt --release : -s -Ofast -O3 ] |
| 307 | [ opt --release : -s -O3 ] |
308 | 308 | [ opt --debug : -g ] |
309 | 309 | -I$(--python-include) -I$(--extra-include) |
310 | 310 | : -L$(--python-lib[1]) -l$(--python-lib[2]) ; |