[packages/rpm-build-macros] - add x32 support to cmake
baggins
baggins at pld-linux.org
Thu Jan 1 21:08:29 CET 2015
commit a5e430064110d43ea982f445da7429122385e483
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jan 1 21:08:16 2015 +0100
- add x32 support to cmake
rpm-build-macros.spec | 2 +-
rpm.macros | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec
index b5005f6..cdc8fe3 100644
--- a/rpm-build-macros.spec
+++ b/rpm-build-macros.spec
@@ -1,4 +1,4 @@
-%define rpm_macros_rev 1.703
+%define rpm_macros_rev 1.704
%define find_lang_rev 1.36
Summary: PLD Linux RPM build macros
Summary(pl.UTF-8): Makra do budowania pakietów RPM dla Linuksa PLD
diff --git a/rpm.macros b/rpm.macros
index 52c191a..290c64e 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -290,6 +290,9 @@ CPPFLAGS="${CPPFLAGS:-%{rpmcppflags}}" \\\
%if "%{_lib}" == "lib64" \
-DLIB_SUFFIX=64 \\\
%endif \
+%if "%{_lib}" == "libx32" \
+ -DLIB_SUFFIX=x32 \\\
+%endif \
-DBUILD_SHARED_LIBS:BOOL=ON \\\
%{nil}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/a5e430064110d43ea982f445da7429122385e483
More information about the pld-cvs-commit
mailing list