aboutsummaryrefslogtreecommitdiffstats
path: root/rpmrc.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpmrc.in')
-rw-r--r--rpmrc.in28
1 files changed, 22 insertions, 6 deletions
diff --git a/rpmrc.in b/rpmrc.in
index 5e21d93..236c649 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -46,12 +46,23 @@ optflags: hppa1.1 %{__common_cflags} -mpa-risc-1-0
optflags: hppa1.2 %{__common_cflags} -mpa-risc-1-0
optflags: hppa2.0 %{__common_cflags} -mpa-risc-1-0
-optflags: mips %{__common_cflags}
-optflags: mipsel %{__common_cflags}
-
-optflags: armv3l %{__common_cflags} -fsigned-char -fomit-frame-pointer -march=armv3
-optflags: armv4b %{__common_cflags} -fsigned-char -fomit-frame-pointer -march=armv4
-optflags: armv4l %{__common_cflags} -fsigned-char -fomit-frame-pointer -march=armv4
+optflags: mips %{__common_cflags} -march=mips3
+optflags: mipsel %{__common_cflags} -march=mips3
+optflags: mips32el %{__common_cflags} -march=mips3 -mabi=n32
+optflags: mips64el %{__common_cflags} -march=mips3 -mabi=64
+
+optflags: armv3l %{__common_cflags} -fsigned-char -march=armv3
+optflags: armv4b %{__common_cflags} -fsigned-char -march=armv4
+optflags: armv4l %{__common_cflags} -fsigned-char -march=armv4
+optflags: armv4t %{__common_cflags} -fsigned-char -march=armv4t
+optflags: armv5t %{__common_cflags} -fsigned-char -march=armv5t
+# Cortex A8
+optflags: armv7 %{__common_cflags} -fsigned-char -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
+
+optflags: armv4tl %{__common_cflags} -fsigned-char -march=armv4t
+optflags: armv5tl %{__common_cflags} -fsigned-char -march=armv5t
+# Cortex A8
+optflags: armv7l %{__common_cflags} -fsigned-char -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
optflags: atarist %{__common_cflags} -fomit-frame-pointer
optflags: atariste %{__common_cflags} -fomit-frame-pointer
@@ -88,6 +99,11 @@ buildarchtranslate: i486: i486
buildarchtranslate: i386: i386
buildarchtranslate: i386: i386
+buildarchtranslate: armv5tel armv5tl
+buildarchtranslate: armv7l armv5tl
+buildarchtranslate: armv5t armv5t
+buildarchtranslate: armv7 armv5t
+
#############################################################
# Architecture compatibility