summaryrefslogtreecommitdiff
path: root/src/template/linux
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-10-09 03:20:34 +0000
committerBruce Momjian <bruce@momjian.us>2003-10-09 03:20:34 +0000
commit0e22cb1232f4474f9b461661b621603312f37d3d (patch)
treeabd5f46c27f3bbde748119ed6d135a29c7b3224a /src/template/linux
parentc1a0d72da6f7b6a6d84d24059a1c2af40aec7ee3 (diff)
This centralizes the optimization defaults into configure.in, rather
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.
Diffstat (limited to 'src/template/linux')
-rw-r--r--src/template/linux2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/template/linux b/src/template/linux
index 44b046033ab..529da9c1694 100644
--- a/src/template/linux
+++ b/src/template/linux
@@ -1,4 +1,3 @@
-CFLAGS=-O2
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="-D_GNU_SOURCE"
@@ -6,4 +5,3 @@ THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # Debian kernel 2.2 2003-09-27
THREAD_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
THREAD_LIBS="-lpthread"
-