Browse Source

need to provide CPPFLAGS for build

Waldemar Brodkorb 11 years ago
parent
commit
9d46f6e49b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/libXt/Makefile

+ 1 - 0
package/libXt/Makefile

@@ -26,6 +26,7 @@ $(eval $(call PKG_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPEN
 HOST_STYLE:=		auto
 AUTOTOOL_STYLE:=	autoreconf
 TARGET_CFLAGS:=         $(filter-out -flto,$(TARGET_CFLAGS))
+CONFIGURE_ENV+=		CFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)"
 CONFIGURE_ARGS+=	--disable-malloc0returnsnull
 
 libxt-install: