diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-10-13 22:10:57 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-10-13 22:10:57 +0000 |
commit | cf3aea87ad73f12e76993a52c77f2ac2104c75cb (patch) | |
tree | f76d1ee47ade441351f4d3079dd4e8505ec25654 /target/linux/cobalt/Makefile | |
parent | f731f1b1a97891c65ddb2c110d2fc9e864134e45 (diff) | |
download | upstream-cf3aea87ad73f12e76993a52c77f2ac2104c75cb.tar.gz upstream-cf3aea87ad73f12e76993a52c77f2ac2104c75cb.tar.bz2 upstream-cf3aea87ad73f12e76993a52c77f2ac2104c75cb.zip |
cobalt: do not build userland with support for mips1
Without specifying -march gcc uses -march=mips1 by default, but that
causes problems when compiling openssl. Use -march=r5000 instead to
compile a userland optimized for the CPU used on this device.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38386 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cobalt/Makefile')
-rw-r--r-- | target/linux/cobalt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/cobalt/Makefile b/target/linux/cobalt/Makefile index 13d3fd05da..527d36dd94 100644 --- a/target/linux/cobalt/Makefile +++ b/target/linux/cobalt/Makefile @@ -11,7 +11,7 @@ BOARD:=cobalt BOARDNAME:=Cobalt Microservers FEATURES:=targz pci ext4 display CPU_TYPE := 5k -CPU_CFLAGS_5k := -mtune=r5000 +CPU_CFLAGS_5k := -march=r5000 MAINTAINER:=Florian Fainelli <florian@openwrt.org> LINUX_VERSION:=3.3.8 |