From 942d25310157dedfda0f02411d37afd442044cbd Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 13 Jan 2004 00:31:23 +0000 Subject: [PATCH] The macro RUN_WITHOUT_REGISTRAR can now be caused to be defined via environment variable. E.g. run: RUN_WITHOUT_REGISTRAR=1 jam git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6055 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/Jamfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kits/Jamfile b/src/kits/Jamfile index 10aef87f13..db2cf3c12f 100644 --- a/src/kits/Jamfile +++ b/src/kits/Jamfile @@ -1,5 +1,13 @@ SubDir OBOS_TOP src kits ; +# Allow if defined allows to run applications without the registrar +# -- for development only, of course. +if $(RUN_WITHOUT_REGISTRAR) { + local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ; + SubDirCcFlags $(defines) ; + SubDirC++Flags $(defines) ; +} + # Collect libopenbeos.so sources. subdirs = app interface support storage ; for subdir in $(subdirs) {