mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
jam: do not set OPTIM by default
If setting OPTIM by jam basically makes it impossible for the project that is using jam to set its own optimization level while still allowing user to override that in command line. For example in Haiku jam files there is line like this: "OPTIM ?= -O2", which obviously is meant to set optimization level to O2 unless user overwrites it. Unfortunately, because Jam have already set OPTIM to -O this line never had an intended effect. After this Jam no longer thinks it knows best what is good for projects that are using it and Haiku is by default compiled with -O2. Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
This commit is contained in:
parent
6f9a8fa02b
commit
862b5480a9
@ -540,7 +540,7 @@ else if $(UNIX)
|
||||
LEX ?= lex ;
|
||||
LINKFLAGS ?= $(CCFLAGS) ;
|
||||
LINKLIBS ?= ;
|
||||
OPTIM ?= -O ;
|
||||
OPTIM ?= ;
|
||||
RANLIB ?= ranlib ;
|
||||
YACC ?= yacc ;
|
||||
YACCGEN ?= .c ;
|
||||
|
Loading…
Reference in New Issue
Block a user