aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-01-19 16:27:27 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-01-19 16:27:27 +0100
commitb2a296b0cf731b5a26a784cefaed7f013ed3d6e7 (patch)
treee8ae6ad2e353830a9552039b430d2c147c72df74 /doc/src
parentc64086b79dbad19e4ee0af8d19e835111aa87bd5 (diff)
downloadpostgresql-b2a296b0cf731b5a26a784cefaed7f013ed3d6e7.tar.gz
postgresql-b2a296b0cf731b5a26a784cefaed7f013ed3d6e7.zip
doc: Update compiler for FreeBSD specific instructions
FreeBSD has since v13 switched to Clang from GCC, so update our instructions to cc instead of gcc to reflect that. Reported-by: digitaldog4@gmail.com Discussion: https://postgr.es/m/CAJR80-xzR49jEkAC98Yo-wuSdFDV2=2H4j9Z2AukSVU=-UpynA@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/dfunc.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/dfunc.sgml b/doc/src/sgml/dfunc.sgml
index 7bdf7f60702..554f9fac4ce 100644
--- a/doc/src/sgml/dfunc.sgml
+++ b/doc/src/sgml/dfunc.sgml
@@ -66,11 +66,12 @@
<option>-fPIC</option>. To create shared libraries the compiler
flag is <option>-shared</option>.
<programlisting>
-gcc -fPIC -c foo.c
-gcc -shared -o foo.so foo.o
+cc -fPIC -c foo.c
+cc -shared -o foo.so foo.o
</programlisting>
- This is applicable as of version 3.0 of
- <systemitem class="osname">FreeBSD</systemitem>.
+ This is applicable as of version 13.0 of
+ <systemitem class="osname">FreeBSD</systemitem>, older versions used
+ the <filename>gcc</filename> compiler.
</para>
</listitem>
</varlistentry>