]> git.pld-linux.org Git - packages/cryptsetup.git/commitdiff
- unify dietlibc compile options and calls
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2009 14:10:51 +0000 (14:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cryptsetup.spec -> 1.43

cryptsetup.spec

index f836808ed350df08be1684122112c967b960fb98..1c0b3e035158af410118c9c71516546a697b9136 100644 (file)
@@ -152,7 +152,7 @@ install %{SOURCE5} README.initramfs
 %if %{with initrd}
 %configure \
 %if %{with dietlibc}
-       CC="diet %{__cc} -Os %{rpmldflags}" \
+       CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os" \
        ac_cv_lib_popt_poptConfigFileToString=yes \
        ac_cv_lib_sepol_sepol_bool_set=no \
        ac_cv_lib_selinux_is_selinux_enabled=no \
@@ -168,8 +168,9 @@ install %{SOURCE5} README.initramfs
 %if %{with dietlibc}
 # we have to do it by hand cause libtool "know better" and forces
 # static libs from /usr/lib
-diet %{__cc} -Os -I./lib -static -o cryptsetup-initrd src/cryptsetup.c \
-       ./lib/.libs/libcryptsetup.a -lpopt -lgcrypt -lgpg-error -ldevmapper -luuid -lcompat
+diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -I./lib -static \
+       -o cryptsetup-initrd src/cryptsetup.c ./lib/.libs/libcryptsetup.a \
+       -lpopt -lgcrypt -lgpg-error -ldevmapper -luuid -lcompat
 %else
 %{__make} -C src
 mv src/cryptsetup cryptsetup-initrd
This page took 0.148614 seconds and 4 git commands to generate.