Squashed commit of the following:

commit 931d3de6c1c903cfd47842bc5026a9294ac492b4
Author: Siu Chi Chan <siuchi.chan@amd.com>
Date:   Mon Feb 13 10:54:06 2017 -0500

    only force to libstdc++ if the g++ is older than version 5 since hcc already defaults to libstdc++ with newer g++

commit 1ef8d71aa788de7b9eead4906fe56186f06d7d3f
Author: scchan <siuchi.chan@amd.com>
Date:   Sun Feb 12 14:44:11 2017 -0500

    remove hardcoded -lc++ in tests

commit 5d99ef338eb3a66523cc9ddd139e86c6fd707b9c
Author: scchan <siuchi.chan@amd.com>
Date:   Sun Feb 12 14:35:46 2017 -0500

    force include libstdc++ headers and stdc++ only if g++ version < 5 since hcc uses libstdc++ by default if g++ > 5 is present

commit a2bc21b24d100feefe91cd3cb2271238bda0738a
Author: scchan <siuchi.chan@amd.com>
Date:   Fri Feb 10 04:36:27 2017 -0500

    use hcc-config to generate compiler and linker flags

Change-Id: I13a79629c0adfd75439a47d0488ff4fd619c55ba
(cherry picked from commit 866e744e40cf1378af8a679b54959bf5226c340f)
This commit is contained in:
Siu Chi Chan
2017-02-13 11:50:45 -05:00
gecommit door Maneesh Gupta
bovenliggende 950434f4af
commit 806deeb476
5 gewijzigde bestanden met toevoegingen van 22 en 33 verwijderingen
@@ -22,7 +22,7 @@ THE SOFTWARE.
// Collection of code to make sure that various features in the hip kernel language compile.
/* HIT_START
* BUILD: %t %s ../test_common.cpp HCC_OPTIONS -stdlib=libc++
* BUILD: %t %s ../test_common.cpp
* RUN: %t
* HIT_END
*/