summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2017-02-27 17:26:20 (GMT)
committerDenis Khalikov <d.khalikov@partner.samsung.com>2017-02-27 17:40:13 (GMT)
commita86502d4f72f4182e6b669bf48d0a706b265156a (patch)
tree723fcff38dcb851e8318b33f56848e9c1b8b0882
parent671ebce249a9fd734b58624f4e90a5c7cac68083 (diff)
downloadcoreclr-sandbox/denis13/gcc6x.zip
coreclr-sandbox/denis13/gcc6x.tar.gz
coreclr-sandbox/denis13/gcc6x.tar.bz2
In case that tool building by clang,sandbox/denis13/gcc6x
headers from /usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/ conflicts with headers from /usr/local/lib/clang/3.8.1/include/ and build failed with errors like this [ 75s] /usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/emmintrin.h:977:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq128' [ 75s] return (__m128i)__builtin_ia32_punpckhdq128 ((__v4si)__A, (__v4si)__B); Does that tool really need this include path /usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/
-rwxr-xr-xpackaging/coreclr.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 01849e9..432b1c4 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -134,7 +134,7 @@ export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib64/:/usr/lib64/gcc/x86_64-tizen-
export CFLAGS="-B/usr/local/lib64/ -B/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/"
export CPPFLAGS="-B/usr/local/lib64/ -B/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/"
export CXXFLAGS="-B/usr/local/lib64/ -B/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/"
-export CPLUS_INCLUDE_PATH="/usr/local/include/llvm/:/usr/local/include/llvm-c/:/usr/local/lib/clang/3.8.1/include/:/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/:/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/c++/:/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/c++/x86_64-tizen-linux-gnu/"
+export CPLUS_INCLUDE_PATH="/usr/local/include/llvm/:/usr/local/include/llvm-c/:/usr/local/lib/clang/3.8.1/include/:/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/c++/:/usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/include/c++/x86_64-tizen-linux-gnu/"
export C_INCLUDE_PATH="/usr/local/include/llvm-c/:/usr/include/"
%endif