aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/geom/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2008-06-04 20:07:59 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2008-06-04 20:07:59 +0000
commit14bf405be4c9d9cfd89ee351e77764888230ef48 (patch)
tree875cef46dbcbdfbfe661d1aa772bf84af14f3908 /sbin/geom/Makefile
parent48f6b9b8b18a298cafd1054c2b80b701db29ebb4 (diff)
downloadsrc-14bf405be4c9d9cfd89ee351e77764888230ef48.tar.gz
src-14bf405be4c9d9cfd89ee351e77764888230ef48.zip
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.
Notes
Notes: svn path=/head/; revision=179550
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 0cb98d1f3a54..c357e9d32c95 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