doc PG 17 relnotes: add FETCH_COUNT item
[pgsql.git] / src / template / netbsd
blob550e8f097374379070e75bd5fff0d5d3339aabe1
1 # src/template/netbsd
3 # Extra CFLAGS for code that will go into a shared library
4 CFLAGS_SL="-fPIC -DPIC"
6 # We must resolve all dynamic linking in the core server at program start.
7 # Otherwise the postmaster can self-deadlock due to signals interrupting
8 # resolution of calls, since NetBSD's linker takes a lock while doing that and
9 # some postmaster signal handlers do things that will also acquire that lock.
10 # As long as we need "-z now", might as well specify "-z relro" too.
11 # While there's not a hard reason to adopt these settings for our other
12 # executables, there's also little reason not to, so just add them to LDFLAGS.
13 LDFLAGS="$LDFLAGS -Wl,-z,now -Wl,-z,relro"