summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2015-06-04 06:28:43 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2015-06-04 06:28:43 -0700
commita49d2f1bcf1d8a683ecf35216d510768a91039fb (patch)
tree924c48f5b8a1b14b1e1f95a2c27af2e028500cb5
parent505aac517c1319c6b5c122a4e2cf34b6c0089d34 (diff)
parent539836bbf6372dfce71173edacbdc047042ac9a2 (diff)
downloadrpm-a49d2f1bcf1d8a683ecf35216d510768a91039fb.tar.gz
rpm-a49d2f1bcf1d8a683ecf35216d510768a91039fb.tar.bz2
rpm-a49d2f1bcf1d8a683ecf35216d510768a91039fb.zip
Merge "Add support for global LDFLAGS" into tizen
-rw-r--r--packaging/rpm-tizen_macros1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros
index 253f89c33..c52767397 100644
--- a/packaging/rpm-tizen_macros
+++ b/packaging/rpm-tizen_macros
@@ -202,6 +202,7 @@ unset DISPLAY\
CFLAGS="%optflags" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
+LDFLAGS="${LDFLAGS:-%{?global_LDFLAGS}}"; export LDFLAGS ; \
LD_AS_NEEDED=1; export LD_AS_NEEDED ; \
%{nil}