summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/label
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-06-04 20:07:59 +0000
committermarcel <marcel@FreeBSD.org>2008-06-04 20:07:59 +0000
commitcb0dec71b19bc769bd89d872587440b3b42697eb (patch)
tree875cef46dbcbdfbfe661d1aa772bf84af14f3908 /sbin/geom/class/label
parent800a8a992c4e6cac3321971312ae343bbb0fca69 (diff)
downloadFreeBSD-src-cb0dec71b19bc769bd89d872587440b3b42697eb.zip
FreeBSD-src-cb0dec71b19bc769bd89d872587440b3b42697eb.tar.gz
Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSES
and define STATIC_GEOM_CLASSES when building the rescue binary. This way geom can more easily be part of other crunched binaries, as it requires only a Makefile change.
Diffstat (limited to 'sbin/geom/class/label')
-rw-r--r--sbin/geom/class/label/geom_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/label/geom_label.c b/sbin/geom/class/label/geom_label.c
index eec20ca..e77fdf0 100644
--- a/sbin/geom/class/label/geom_label.c
+++ b/sbin/geom/class/label/geom_label.c
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
#include "core/geom.h"
#include "misc/subr.h"
-#ifdef RESCUE
+#ifdef STATIC_GEOM_CLASSES
#define PUBSYM(x) glabel_##x
#else
#define PUBSYM(x) x
OpenPOWER on IntegriCloud