Fix missing include paths on powerpcspe
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Mon, 20 Jan 2020 09:26:04 +0000 (09:26 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 20 Jan 2020 09:26:04 +0000 (09:26 +0000)
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908791
Forwarded: https://reviews.llvm.org/D52066
Last-Update: 2018-09-13

Gbp-Pq: Name powerpcspe-add-missing-include-path.diff

clang/lib/Driver/ToolChains/Linux.cpp

index 1301cdf114ae120b0008e5c65948ad30da7fe630..3014f9798d4279aff78b5fdf490962bb4b9a7412 100644 (file)
@@ -624,7 +624,8 @@ void Linux::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
       "/usr/include/mips64el-linux-gnu",
       "/usr/include/mips64el-linux-gnuabi64"};
   const StringRef PPCMultiarchIncludeDirs[] = {
-      "/usr/include/powerpc-linux-gnu"};
+      "/usr/include/powerpc-linux-gnu",
+      "/usr/include/powerpc-linux-gnuspe"};
   const StringRef PPC64MultiarchIncludeDirs[] = {
       "/usr/include/powerpc64-linux-gnu"};
   const StringRef PPC64LEMultiarchIncludeDirs[] = {