Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
| 2 | |
| 3 | Upstream-Status: unsuitable |
| 4 | --- |
| 5 | build/linux.gcc.inc | 5 +++-- |
| 6 | 1 file changed, 3 insertions(+), 2 deletions(-) |
| 7 | |
| 8 | --- tbb41_20121003oss.orig/build/linux.gcc.inc |
| 9 | +++ tbb41_20121003oss/build/linux.gcc.inc |
| 10 | @@ -40,12 +40,13 @@ DYLIB_KEY = -shared |
| 11 | EXPORT_KEY = -Wl,--version-script, |
| 12 | LIBDL = -ldl |
| 13 | |
| 14 | TBB_NOSTRICT = 1 |
| 15 | |
| 16 | -CPLUS = g++ |
| 17 | -CONLY = gcc |
| 18 | +CPLUS = $(CXX) |
| 19 | +CONLY = $(CC) |
| 20 | +CPLUS_FLAGS = $(CXXFLAGS) |
| 21 | LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) |
| 22 | LIBS += -lpthread -lrt |
| 23 | LINK_FLAGS = -Wl,-rpath-link=. |
| 24 | C_FLAGS = $(CPLUS_FLAGS) |
| 25 | # gcc 4.4 and higher support -std=c++0x |