diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-25 23:08:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-25 23:08:14 +0000 |
commit | 4147ffbcc6e2c20ab9bc1b43330244abe5a10b63 (patch) | |
tree | 2f18d3d01af4ea5bb70137acf214a1a0f2dbd922 | |
parent | cb7e38cfb8ccc4d57b61b92dc9e94d6bde383ceb (diff) |
optimize library based upon sparc cpu selection
-rw-r--r-- | Rules.mak | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -141,6 +141,13 @@ ifeq ($(strip $(TARGET_ARCH)),i386) CPU_CFLAGS-$(CONFIG_NEHEMIAH)+=$(call check_gcc,-march=c3-2,-march=i686) endif +ifeq ($(strip $(TARGET_ARCH)),sparc) + CPU_CFLAGS-$(CONFIG_SPARC_V7)+=-mcpu=v7 + CPU_CFLAGS-$(CONFIG_SPARC_V8)+=-mcpu=v8 + CPU_CFLAGS-$(CONFIG_SPARC_V9)+=-mcpu=v9 + CPU_CFLAGS-$(CONFIG_SPARC_V9B)+=$(call check_gcc,-mcpu=v9b,-mcpu=ultrasparc) +endif + ifeq ($(strip $(TARGET_ARCH)),arm) OPTIMIZATION+=-fstrict-aliasing CPU_LDFLAGS-$(ARCH_LITTLE_ENDIAN)+=-EL |