summarylogtreecommitdiffstats
path: root/conf-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'conf-cc.patch')
-rw-r--r--conf-cc.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf-cc.patch b/conf-cc.patch
new file mode 100644
index 000000000000..ba7ab7064aee
--- /dev/null
+++ b/conf-cc.patch
@@ -0,0 +1,8 @@
+Enable -fPIC when compiling with gcc.
+--- a/conf-cc
++++ b/conf-cc
+@@ -1,3 +1,3 @@
+-gcc -O2
++gcc -O2 -fPIC
+
+ This will be used to compile .c files.