diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-09-03 21:17:54 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-09-03 21:48:00 -0400 |
commit | f56842e495d798022536351e5865d71855223c3a (patch) | |
tree | fc05086eee0658ef95dc67f5f40b50b09eedbc17 | |
parent | 6a8d25c09836923d642a6c02e1d49d61abda9618 (diff) | |
download | rpm-submit/tizen/20130912.080341.tar.gz rpm-submit/tizen/20130912.080341.tar.bz2 rpm-submit/tizen/20130912.080341.zip |
enforce platform for ARMsubmit/tizen/20130912.090641submit/tizen/20130912.080341accepted/tizen/20130913.024734accepted/tizen/20130912.194240accepted/tizen/20130912.190057
also set optflag defaults for armv7l
Change-Id: I0cdcc093245b1e121b51327b83300b59d101a30b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rw-r--r-- | packaging/rpm.spec | 5 | ||||
-rw-r--r-- | rpmrc.in | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec index 72010bd8a..56c83f017 100644 --- a/packaging/rpm.spec +++ b/packaging/rpm.spec @@ -210,11 +210,10 @@ rm -rf %{buildroot}/%{_libdir}/python%{py_ver} rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/rpm-plugins/*.la sh %{buildroot}/usr/lib/rpm/find-lang.sh %{buildroot} rpm -%ifarch armv7hl +%ifarch armv7hl armv7l # rpm is using the host_cpu as default for the platform, but armv7hl is not known by the kernel. # so we need to enforce the platform here. -# We don't want to use armv7l because it would make us incompatible to Fedora and MeeGo plattforms. -echo -n armv7hl-tizen-linux> %{buildroot}/etc/rpm/platform +echo -n %{_target_cpu}-tizen-linux-gnueabi > %{buildroot}/etc/rpm/platform %endif %post @@ -67,7 +67,7 @@ optflags: armv4tl -O2 -g -march=armv4t optflags: armv5tel -O2 -g -march=armv5te optflags: armv5tejl -O2 -g -march=armv5te optflags: armv6l -O2 -g -march=armv6 -optflags: armv7l -O2 -g -march=armv7 +optflags: armv7l -O2 -g -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D __SOFTFP__ optflags: armv7hl -O2 -g -march=armv7-a -mfloat-abi=hard -mthumb -mabi=aapcs-linux optflags: atarist -O2 -g -fomit-frame-pointer |