libtwin: only use -flax-vector-conversions on powerpc
authorFelix Fietkau <nbd@openwrt.org>
Thu, 3 Sep 2009 00:02:30 +0000 (00:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Sep 2009 00:02:30 +0000 (00:02 +0000)
SVN-Revision: 17490

libs/libtwin/Makefile

index d58dfdb..3d09aab 100644 (file)
@@ -35,7 +35,9 @@ endef
 
 CONFIGURE_ARGS += --enable-shared --enable-static --disable-x11
 
-EXTRA_CFLAGS += -flax-vector-conversions
+ifdef CONFIG_powerpc
+  EXTRA_CFLAGS += -flax-vector-conversions
+endif
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/libtwin