<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql.git/src/template/openbsd, branch master</title>
<subtitle>This is the main PostgreSQL git repository.</subtitle>
<id>http://git.postgresql.org/cgit/postgresql.git/atom?h=master</id>
<link rel='self' href='http://git.postgresql.org/cgit/postgresql.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/'/>
<updated>2019-10-21T16:32:35Z</updated>
<entry>
<title>Select CFLAGS_SL at configure time, not in platform-specific Makefiles.</title>
<updated>2019-10-21T16:32:35Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2019-10-21T16:32:35Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=44273ce4f664a1bb34ef8ea9359237344cd6aaec'/>
<id>urn:sha1:44273ce4f664a1bb34ef8ea9359237344cd6aaec</id>
<content type='text'>
Move the platform-dependent logic that sets CFLAGS_SL from
src/makefiles/Makefile.foo to src/template/foo, so that the value
is determined at configure time and thus is available while running
configure's tests.

On a couple of platforms this might save a few microseconds of build
time by eliminating a test that make otherwise has to do over and over.
Otherwise it's pretty much a wash for build purposes; in particular,
this makes no difference to anyone who might be overriding CFLAGS_SL
via a make option.

This patch in itself does nothing with the value and thus should not
change any behavior, though you'll probably have to re-run configure
to get a correctly updated Makefile.global.  We'll use the new
configure variable in a follow-on patch.

Per gripe from Kyotaro Horiguchi.  Back-patch to all supported branches,
because the follow-on patch is a portability bug fix.

Discussion: https://postgr.es/m/20191010.144533.263180400.horikyota.ntt@gmail.com
</content>
</entry>
<entry>
<title>Remove -pipe from compiles.</title>
<updated>2003-10-09T22:55:46Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2003-10-09T22:55:46Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=c568b8fbe7f8f9e869fc78babbecd22884c7856f'/>
<id>urn:sha1:c568b8fbe7f8f9e869fc78babbecd22884c7856f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Re-add -pipe compile flags for bsd's.</title>
<updated>2003-10-09T04:34:02Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2003-10-09T04:34:02Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=668715258203830db182a03dca0e4891c5a3f9d6'/>
<id>urn:sha1:668715258203830db182a03dca0e4891c5a3f9d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This centralizes the optimization defaults into configure.in, rather</title>
<updated>2003-10-09T03:20:34Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2003-10-09T03:20:34Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=0e22cb1232f4474f9b461661b621603312f37d3d'/>
<id>urn:sha1:0e22cb1232f4474f9b461661b621603312f37d3d</id>
<content type='text'>
than having CFLAGS= in the template files.

It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless
the template overrides it.
</content>
</entry>
<entry>
<title>Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to</title>
<updated>2000-10-21T22:36:14Z</updated>
<author>
<name>Peter Eisentraut</name>
</author>
<published>2000-10-21T22:36:14Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=f8ff1ee5aab125fc1e5e130e6055a0e6586ce440'/>
<id>urn:sha1:f8ff1ee5aab125fc1e5e130e6055a0e6586ce440</id>
<content type='text'>
Makefile.port, since they are of no use to configure and much of the
library magic happens in Makefile.port anyway.

Use __alpha, not __alpha__, since the former is universally available.
Remove -DNOFIXADE from the compile command line and put it in the port
include file.
</content>
</entry>
<entry>
<title>Rename templates to match names in makefiles/Makefile.* and include/port.</title>
<updated>2000-07-15T15:54:52Z</updated>
<author>
<name>Peter Eisentraut</name>
</author>
<published>2000-07-15T15:54:52Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=3eec6ee145976fe0fcecc0199e179d90178daa6d'/>
<id>urn:sha1:3eec6ee145976fe0fcecc0199e179d90178daa6d</id>
<content type='text'>
Read templates after compiler is detected. Convert all templates to real
shell scripts. Rename bsd-&gt;openbsd, alpha-&gt;osf.
</content>
</entry>
<entry>
<title>Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses</title>
<updated>2000-06-07T16:27:00Z</updated>
<author>
<name>Peter Eisentraut</name>
</author>
<published>2000-06-07T16:27:00Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=e3059fc0f53ede1ae6f95076034b678f394d2e7a'/>
<id>urn:sha1:e3059fc0f53ede1ae6f95076034b678f394d2e7a</id>
<content type='text'>
CPP) to create platform independent files. Unfortunately, that means that
every config.status (or configure) run invariably causes a relink of the
postmaster and also that we can't put these files in the distribution
(usefully). So we make it a little smarter: when the output files already
exist and it notices that it would recreate them in identical form, it
doesn't touch them. In order to avoid re-running the make rule all the time
we update a timestamp file instead.

Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
is detected at configure time, not necessarily named `awk' and have it check
for exit statuses a little better.

In other news... Remove USE_LOCALE from the templates, it was set to `no'
everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
that need this flag should explicitly invoke it. YFLAGS should be a user
variable. Update the makefiles to that effect.
</content>
</entry>
<entry>
<title>Remove -m486 on Openbsd.</title>
<updated>1999-06-26T15:54:36Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>1999-06-26T15:54:36Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=ef15ed17a04a8c4e1d6e64b125ac8a1b6ac9dd41'/>
<id>urn:sha1:ef15ed17a04a8c4e1d6e64b125ac8a1b6ac9dd41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove /usr/local/* from templates.</title>
<updated>1998-09-18T05:00:52Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>1998-09-18T05:00:52Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=62bc4de45b4bd4c90798a1f5449a617cee62d79e'/>
<id>urn:sha1:62bc4de45b4bd4c90798a1f5449a617cee62d79e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>template change</title>
<updated>1998-06-12T22:42:12Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>1998-06-12T22:42:12Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=d939f60ca7b7cdb8397b96ca1769e30b4159f2c0'/>
<id>urn:sha1:d939f60ca7b7cdb8397b96ca1769e30b4159f2c0</id>
<content type='text'>
</content>
</entry>
</feed>
