Преглед изворни кода

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