summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authorThiago Abdo2019-10-15 13:45:21 +0200
committerThiago Abdo2019-10-15 13:45:21 +0200
commita1a1bda3b5927b5bf825e1b179db267a0cb3ce3c (patch)
treebbb93dec3e3a7f7ac63d3158306011bde799c44c /builder
parentUpgrade commit of kernel-qcow2-linux (diff)
downloadsystemd-init-a1a1bda3b5927b5bf825e1b179db267a0cb3ce3c.tar.gz
systemd-init-a1a1bda3b5927b5bf825e1b179db267a0cb3ce3c.tar.xz
systemd-init-a1a1bda3b5927b5bf825e1b179db267a0cb3ce3c.zip
Changes the compiling of losetup to compily with static libraries and shared gcc
Signed-off-by: Thiago Abdo <tjabdo@inf.ufpr.br>
Diffstat (limited to 'builder')
-rw-r--r--builder/modules.d/dnbd3-rootfs/helper/build.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/builder/modules.d/dnbd3-rootfs/helper/build.inc b/builder/modules.d/dnbd3-rootfs/helper/build.inc
index 3a0cd5a3..ab5418d4 100644
--- a/builder/modules.d/dnbd3-rootfs/helper/build.inc
+++ b/builder/modules.d/dnbd3-rootfs/helper/build.inc
@@ -248,6 +248,7 @@ build_compile_losetup_qcow() {
./autogen.sh
./configure
make -j losetup
+ gcc -I./libsmartcols/src -O2 -o .libs/losetup sys-utils/losetup-losetup.o .libs/libcommon.a .libs/libsmartcols.a
)
local ret=$?
popd