Merge "Link against libc++ only on hcc platform" into amd-master

此提交包含在:
Maneesh Gupta authored and Gerrit Code Review committed 2016-05-20 13:03:17 -04:00
2 父節點 bd31d333e6 87f402327e
當前提交 03cc432bad
1 file changed
+3 -1
+3 -1
查看文件
@@ -100,7 +100,9 @@ endmacro()
# Make a hip executable, using libc++
macro (make_hip_executable_libcpp exe cpp)
make_hip_executable( ${exe} ${cpp} ${ARGN} )
set_source_files_properties (${cpp} i${ARGN} PROPERTIES COMPILE_FLAGS --stdlib=libc++ )
if (${HIP_PLATFORM} STREQUAL "hcc")
set_source_files_properties (${cpp} i${ARGN} PROPERTIES COMPILE_FLAGS --stdlib=libc++ )
endif()
endmacro()
macro (make_named_test exe testname )