summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/rpm.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index 5463a376b..9e0596793 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -3,7 +3,7 @@
Name: rpm
Summary: The Package Manager
-License: GPL-2.0+
+License: LGPL-2.0+ and GPL-2.0+
Group: Base/Package Management
Version: 4.11.0.1
Release: 0
@@ -145,8 +145,8 @@ rm -f m4/lt*.m4
%build
CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
export CPPFLAGS
-export CFLAGS="%{optflags} -ffunction-sections -fPIE"
-export LDFLAGS="${LDFLAGS} -pie -Wl,-Bsymbolic-functions -ffunction-sections"
+export CFLAGS="%{optflags} -ffunction-sections"
+export LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic-functions -ffunction-sections"
%ifarch armv5tel
export CFLAGS="-g -O0 -fno-strict-aliasing -ffunction-sections"
%endif