From: Arkadiusz Miśkiewicz Date: Sun, 19 Jul 2009 07:35:07 +0000 (+0000) Subject: - rel 4; filterout relro on ppc - otherwise every compiled program is killed immediately X-Git-Tag: auto/th/e2fsprogs-1_41_8-4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fe2fsprogs.git;a=commitdiff_plain;h=2b31b5504b331a07d9a37a355569b73b12a61802 - rel 4; filterout relro on ppc - otherwise every compiled program is killed immediately Changed files: e2fsprogs.spec -> 1.223 --- diff --git a/e2fsprogs.spec b/e2fsprogs.spec index b2f030e..46167f7 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -36,7 +36,7 @@ Summary(zh_CN.UTF-8): 管理第二扩展(ext2)文件系统的工具。 Summary(zh_TW.UTF-8): 用於管理 ext2 檔案系統的工具程式。 Name: e2fsprogs Version: 1.41.8 -Release: 3 +Release: 4 License: GPL v2 (with LGPL v2 and BSD parts) Group: Applications/System Source0: http://dl.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz @@ -90,6 +90,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define dietarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/;s/armv.*/arm/') %define dietlibdir %{_prefix}/lib/dietlibc/lib-%{dietarch} +%ifarch ppc ppc64 +# for dietlibc +%define filterout_ld -Wl,-z,relro +%endif + %description The e2fsprogs package contains a number of utilities for creating, checking, modifying and correcting any inconsistencies in second