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

[ROCm/clr commit: b8b9f55655]
This commit is contained in:
Maneesh Gupta
2016-05-20 13:03:17 -04:00
کامیت شده توسط Gerrit Code Review
کامیت 6b5664d471
@@ -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 )