summarylogtreecommitdiffstats
path: root/001-reaarange-compiler-detect.patch
diff options
context:
space:
mode:
Diffstat (limited to '001-reaarange-compiler-detect.patch')
-rw-r--r--001-reaarange-compiler-detect.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/001-reaarange-compiler-detect.patch b/001-reaarange-compiler-detect.patch
new file mode 100644
index 000000000000..8b18edc3b6ac
--- /dev/null
+++ b/001-reaarange-compiler-detect.patch
@@ -0,0 +1,11 @@
+--- potrace-1.15/configure.ac.orig 2017-12-01 07:10:43.783207400 +0300
++++ potrace-1.15/configure.ac 2017-12-01 07:10:59.491835900 +0300
+@@ -28,7 +28,7 @@
+ dnl figure out compiler options
+
+ dnl Check for compiler
+-AC_PROG_CC([clang gcc cc c99 mgcc c89 pcc opencc sunc99 suncc])
++AC_PROG_CC([gcc cc c99 mgcc c89 pcc opencc sunc99 suncc clang])
+
+ dnl Also add CADD to the CFLAGS at configure time or compile time
+ AC_SUBST(CADD)