瀏覽代碼

Complete build flags for MIC

Samuel Thibault 9 年之前
父節點
當前提交
f1c54e549d
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      mic-configure

+ 6 - 1
mic-configure

@@ -97,7 +97,12 @@ do
 	cd "build_${arch}"
 
 	if test x$arch = xmic ; then
-		PKG_CONFIG_PATH=$SINK_PKG_CONFIG_PATH LDFLAGS=-export-dynamic $command $* $params
+		LIBRARY_PATH=$SINK_LIBRARY_PATH \
+		INCLUDE=$SINK_INCLUDE \
+		C_INCLUDE_PATH=$SINK_C_INCLUDE_PATH \
+		CPLUS_INCLUDE_PATH=$SINK_CPLUS_INCLUDE_PATH \
+		PKG_CONFIG_PATH=$SINK_PKG_CONFIG_PATH \
+		$command $* $params
 	else
 		$command $* $params
 	fi