summaryrefslogtreecommitdiffstats
path: root/sbin/geom/Makefile
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/Makefile
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/Makefile')
-rw-r--r--sbin/geom/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/Makefile b/sbin/geom/Makefile
index 0cb98d1..c357e9d 100644
--- a/sbin/geom/Makefile
+++ b/sbin/geom/Makefile
@@ -10,7 +10,7 @@
PROG= geom
SRCS= geom.c geom_label.c geom_part.c subr.c
-CFLAGS+=-I${.CURDIR} -I${.CURDIR}/core
+CFLAGS+=-I${.CURDIR} -I${.CURDIR}/core -DSTATIC_GEOM_CLASSES
DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
LDADD= -lgeom -lsbuf -lbsdxml -lutil
OpenPOWER on IntegriCloud