From: nbd Date: Thu, 3 Sep 2009 00:02:30 +0000 (+0000) Subject: libtwin: only use -flax-vector-conversions on powerpc X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b73c2dfb3ceecedb6a9d2f48e9c017110f6c5b1f;p=packages.git libtwin: only use -flax-vector-conversions on powerpc git-svn-id: svn://svn.openwrt.org/openwrt/packages@17490 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/libtwin/Makefile b/libs/libtwin/Makefile index d58dfdbb4..3d09aab10 100644 --- a/libs/libtwin/Makefile +++ b/libs/libtwin/Makefile @@ -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