[packages/postgresql] set cflags/cxxflags for sources compiled with clang

atler atler at pld-linux.org
Sun Jan 29 23:07:54 CET 2023


commit 75392181d5c135d92adf4d9f3db4332c0ea53c90
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jan 29 23:07:24 2023 +0100

    set cflags/cxxflags for sources compiled with clang

 postgresql.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/postgresql.spec b/postgresql.spec
index 33e2c8e..a2998c4 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -821,6 +821,8 @@ march="-mx32"
 	CFLAGS="%{rpmcflags} $march -DNEED_REENTRANT_FUNCS" \
 	CPPFLAGS="%{rpmcppflags} $march" \
 	CXXFLAGS="%{rpmcxxflags} $march" \
+	BITCODE_CFLAGS="%{rpmcflags}" \
+	BITCODE_CXXFLAGS="%{rpmcxxflags}" \
 	--disable-rpath \
 	--enable-depend \
 	%{?with_systemtap:--enable-dtrace} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postgresql.git/commitdiff/75392181d5c135d92adf4d9f3db4332c0ea53c90



More information about the pld-cvs-commit mailing list