aboutsummaryrefslogtreecommitdiffstats
path: root/community/pcc/multiarch.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-09-27 12:01:48 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-09-27 13:17:35 +0200
commit4397960fd49675bf926c798685821765d8263761 (patch)
tree91999478ff0e14622beb697e0cb8bf2157228d6b /community/pcc/multiarch.patch
parentce5853c01e15d67a0ba89e3f795b21443e1ac9c5 (diff)
community/pcc: move from testing
Diffstat (limited to 'community/pcc/multiarch.patch')
-rw-r--r--community/pcc/multiarch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/pcc/multiarch.patch b/community/pcc/multiarch.patch
new file mode 100644
index 00000000000..087fda3c207
--- /dev/null
+++ b/community/pcc/multiarch.patch
@@ -0,0 +1,12 @@
+diff -upr pcc-1.1.0.orig/cc/cc/cc.c pcc-1.1.0/cc/cc/cc.c
+--- pcc-1.1.0.orig/cc/cc/cc.c 2016-09-16 20:38:14.932292071 +0200
++++ pcc-1.1.0/cc/cc/cc.c 2016-09-16 20:39:17.022094921 +0200
+@@ -206,7 +206,7 @@ char *cppmdadd[] = CPPMDADD;
+ #define PCCLIBDIR NULL
+ #endif
+ #ifndef DEFLIBDIRS /* default library search paths */
+-#ifdef MULTIARCH_PATH
++#ifndef MULTIARCH_PATH
+ #define DEFLIBDIRS { "/usr/lib/", 0 }
+ #else
+ #define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 }