summaryrefslogtreecommitdiff
path: root/strata/core/e2fsprogs.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/core/e2fsprogs.morph')
-rw-r--r--strata/core/e2fsprogs.morph5
1 files changed, 5 insertions, 0 deletions
diff --git a/strata/core/e2fsprogs.morph b/strata/core/e2fsprogs.morph
index 55ac486c..6f32ad38 100644
--- a/strata/core/e2fsprogs.morph
+++ b/strata/core/e2fsprogs.morph
@@ -9,6 +9,11 @@ configure-commands:
- |
./configure --prefix="$PREFIX" --sysconfdir=/etc \
--disable-libuuid --disable-uuidd --disable-libblkid
+build-commands:
+# Without this, the static archive libcom_err is generated without
+# position independant code; later when samba tries to create a shared
+# library linking to this archive, we get errors.
+- make CFLAGS="-g -O2 -DHAVE_CONFIG_H -fPIC"
install-commands:
# e2fsprogs also includes tools that are provided by util-linux, so we
# need to selectively exclude them. Removing them directly from DESTDIR