Update test scripts and Makefiles to allow testing with GCC:
authorDaniel Malea <daniel.malea@intel.com>
Fri, 25 Jan 2013 00:31:48 +0000 (00:31 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Fri, 25 Jan 2013 00:31:48 +0000 (00:31 +0000)
commit2745d8467ba0a6fe9e7e5f908611e45a1a7a1a49
tree60971ecc541afbcc9a9159bcf14ddd060e5fe6bd
parent28aed9ca85c0903eb5791e30956b1b6a0ea2ad89
Update test scripts and Makefiles to allow testing with GCC:
- introduce new variable ARCHFLAG in make/Makefile.rules to switch between "-arch" on Mac and "-m" everywhere else
- update testcase makefiles to use LD_EXTRAS instead of LDFLAGS (the former interacts with Makefile.rules badly)
- special treatment for gcc 4.6: replace "-std=c++11" with "-std=c++0x" as the former is not handled correctly
- remove hardcoded "-arch" from test Makefile

This patch should not have any effect on lldb on Mac OS X.

llvm-svn: 173402
lldb/test/functionalities/stop-hook/multiple_threads/Makefile
lldb/test/functionalities/thread/Makefile
lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile
lldb/test/lang/c/const_variables/Makefile
lldb/test/lang/cpp/stl/TestSTL.py
lldb/test/make/Makefile.rules
lldb/test/plugins/builder_base.py
lldb/test/python_api/lldbutil/iter/Makefile
lldb/test/python_api/lldbutil/process/Makefile
lldb/test/python_api/module_section/Makefile
lldb/test/python_api/watchpoint/watchlocation/Makefile