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
fca71f44
Commit
fca71f44
authored
Oct 14, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add compile -O flag only for non-debug mode, per Tom
parent
d18ba3f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
configure
configure
+5
-4
configure.in
configure.in
+6
-5
No files found.
configure
View file @
fca71f44
...
...
@@ -2393,12 +2393,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
if
test
"
$ac_env_CFLAGS_set
"
=
set
;
then
CFLAGS
=
$ac_env_CFLAGS_value
fi
# configure sets CFLAGS to -O2 for gcc, so this is only for non-gcc
if
test
x
"
$CFLAGS
"
=
x
""
;
then
CFLAGS
=
"-O"
fi
if
test
"
$enable_debug
"
=
yes
&&
test
"
$ac_cv_prog_cc_g
"
=
yes
;
then
CFLAGS
=
"
$CFLAGS
-g"
else
# configure sets CFLAGS to -O2 for gcc, so this is only for non-gcc
if
test
x
"
$CFLAGS
"
=
x
""
;
then
CFLAGS
=
"-O"
fi
fi
{
echo
"
$as_me
:
$LINENO
: using CFLAGS=
$CFLAGS
"
>
&5
echo
"
$as_me
: using CFLAGS=
$CFLAGS
"
>
&6
;
}
...
...
configure.in
View file @
fca71f44
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.29
4 2003/10/09 03:20:33
momjian Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.29
5 2003/10/14 00:48:09
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -238,12 +238,13 @@ AC_PROG_CC([$pgac_cc_list])
if test "$ac_env_CFLAGS_set" = set; then
CFLAGS=$ac_env_CFLAGS_value
fi
# configure sets CFLAGS to -O2 for gcc, so this is only for non-gcc
if test x"$CFLAGS" = x""; then
CFLAGS="-O"
fi
if test "$enable_debug" = yes && test "$ac_cv_prog_cc_g" = yes; then
CFLAGS="$CFLAGS -g"
else
# configure sets CFLAGS to -O2 for gcc, so this is only for non-gcc
if test x"$CFLAGS" = x""; then
CFLAGS="-O"
fi
fi
AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
...
...
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