summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index df57304d1..17f3e9899 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -46,10 +46,8 @@ ifeq ($(BR2_SOFT_FLOAT),y)
TARGET_CFLAGS+=-msoft-float
endif
-ifeq ($(BR2_sparc_v9b),y)
-TARGET_CFLAGS+=-mvis
-endif
-ifeq ($(BR2_sparc64_v9b),y)
+# enable VIS for v9a and v9b
+ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_sparc64_v9b)),y)
TARGET_CFLAGS+=-mvis
endif