mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
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
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Makefile for jam
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -O3
|
||||
CFLAGS = -O
|
||||
EXENAME = ./jam0
|
||||
TARGET = -o $(EXENAME)
|
||||
HOST_SYSTEM=$(shell uname)
|
||||
|
||||
Reference in New Issue
Block a user