Explorar o código

Complete build flags for MIC

Samuel Thibault %!s(int64=9) %!d(string=hai) anos
pai
achega
f1c54e549d
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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