btrev43037 adds 1 changeset to branch 'master' old head: 9b386978f47f3208f5d6305af00a0ecbad256172 new head: e2c280b8f7242efe6ff8445c532c38e1b7312f1c ---------------------------------------------------------------------------- e2c280b: Lower optimization level for building jam * This changes the optimization level from -O3 to -O * This will prevent segfaults when creating jam via the Makefile on FreeBSD * Benchmarking was done, and there seems to be no negative performance impact * Another option would be -O3 -fno-strict-aliasing, but this has no noticeable benefit over -O [ Joseph R. Prostko <joe.prostko@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: btrev43037 Commit: e2c280b8f7242efe6ff8445c532c38e1b7312f1c URL: http://cgit.haiku-os.org/buildtools/commit/?id=e2c280b Author: Joseph R. Prostko <joe.prostko@xxxxxxxxx> Date: Sat Oct 13 00:40:25 2012 UTC ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 1 deletion(-) jam/Makefile | 2 +- ---------------------------------------------------------------------------- diff --git a/jam/Makefile b/jam/Makefile index 21bbd3d..d287a84 100644 --- a/jam/Makefile +++ b/jam/Makefile @@ -1,7 +1,7 @@ # Makefile for jam CC = cc -CFLAGS = -O3 +CFLAGS = -O EXENAME = ./jam0 TARGET = -o $(EXENAME) HOST_SYSTEM=$(shell uname)