Mercurial > hg > graal-compiler
diff make/bsd/makefiles/top.make @ 4129:f4414323345f
7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM
Summary: Changed the conditional to see if the precompiled header has been specified. Also, removed the unused PrecompiledOption.
Reviewed-by: dholmes, brutisso
author | stefank |
---|---|
date | Mon, 28 Nov 2011 14:58:31 +0100 |
parents | 436b4a3231bf |
children | f09ae3853e3b |
line wrap: on
line diff
--- a/make/bsd/makefiles/top.make Mon Nov 28 10:19:26 2011 +0100 +++ b/make/bsd/makefiles/top.make Mon Nov 28 14:58:31 2011 +0100 @@ -47,12 +47,10 @@ Plat_File = $(Platform_file) CDG = cd $(GENERATED); -ifdef USE_PRECOMPILED_HEADER -PrecompiledOption = -DUSE_PRECOMPILED_HEADER -UpdatePCH = $(MAKE) -f vm.make $(PRECOMPILED_HEADER) $(MFLAGS) +ifneq ($(USE_PRECOMPILED_HEADER),0) +UpdatePCH = $(MAKE) -f vm.make $(PRECOMPILED_HEADER) $(MFLAGS) else -UpdatePCH = \# precompiled header is not used -PrecompiledOption = +UpdatePCH = \# precompiled header is not used endif Cached_plat = $(GENERATED)/platform.current