]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- pass -DLIB_SUFFIX=64 as well if needed
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 26 Aug 2010 14:50:28 +0000 (14:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.575

rpm.macros

index 15f356255732ddc32d9dbb06cf4e3580d96013fe..bb831d827c42a757fd96f9ec835878568ae2ee17 100644 (file)
@@ -246,8 +246,11 @@ CFLAGS="%{rpmcflags}" \
 CXXFLAGS="%{rpmcxxflags}" \
 LDFLAGS="%{rpmldflags}" \
 %{__cmake} \
--DCMAKE_INSTALL_PREFIX=%{_prefix} \
--DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+%if "%{_lib}" == "lib64" \
+       -DLIB_SUFFIX=64 \
+%endif
 }
 
 %scons { \
This page took 0.104303 seconds and 4 git commands to generate.