Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3aa9776d
Commit
3aa9776d
authored
Nov 27, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.
parent
b82323e0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
src/template/aix
src/template/aix
+2
-2
src/template/freebsd
src/template/freebsd
+1
-1
src/template/hpux
src/template/hpux
+2
-2
src/template/linux
src/template/linux
+1
-1
src/template/osf
src/template/osf
+1
-1
src/template/solaris
src/template/solaris
+1
-1
src/template/univel
src/template/univel
+1
-1
src/template/unixware
src/template/unixware
+2
-2
No files found.
src/template/aix
View file @
3aa9776d
if test "$GCC" != yes ; then
case $host_os in
aix3.2.5 | aix4.1*)
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
CFLAGS="
$CFLAGS
-O -qmaxmem=16384 -qsrcmsg"
;;
*)
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
CFLAGS="
$CFLAGS
-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
;;
esac
fi
src/template/freebsd
View file @
3aa9776d
case $host_cpu in
alpha*) CFLAGS="-O";; # alpha has problems with -O2
alpha*) CFLAGS="
$CFLAGS
-O";; # alpha has problems with -O2
esac
src/template/hpux
View file @
3aa9776d
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
CPPFLAGS="
$CPPFLAGS
-D_XOPEN_SOURCE_EXTENDED"
if test "$GCC" != yes ; then
CC="$CC -Ae"
CFLAGS="+O2"
CFLAGS="
$CFLAGS
+O2"
fi
# Pick right test-and-set (TAS) code. We need out-of-line assembler
...
...
src/template/linux
View file @
3aa9776d
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="-D_GNU_SOURCE"
CPPFLAGS="
$CPPFLAGS
-D_GNU_SOURCE"
src/template/osf
View file @
3aa9776d
if test "$GCC" != yes ; then
CC="$CC -std"
CFLAGS="-O -ieee"
CFLAGS="
$CFLAGS
-O -ieee"
fi
src/template/solaris
View file @
3aa9776d
if test "$GCC" != yes ; then
CC="$CC -Xa" # relaxed ISO C mode
CFLAGS="-O -v" # -v is like gcc -Wall
CFLAGS="
$CFLAGS
-O -v" # -v is like gcc -Wall
fi
# Pick right test-and-set (TAS) code. We need out-of-line assembler
...
...
src/template/univel
View file @
3aa9776d
CFLAGS="-v -O -K i486,host,inline,loop_unroll -Dsvr4"
CFLAGS="
$CFLAGS
-v -O -K i486,host,inline,loop_unroll -Dsvr4"
LIBS="-lc89"
src/template/unixware
View file @
3aa9776d
...
...
@@ -13,9 +13,9 @@ void g(void){
__EOF__
if $CC -c -O -Kinline conftest.c >conftest.err 2>&1; then
CFLAGS="-O -Kinline"
CFLAGS="
$CFLAGS
-O -Kinline"
else
CFLAGS="-O -Kinline,no_host"
CFLAGS="
$CFLAGS
-O -Kinline,no_host"
fi
rm -f conftest.*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment