Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
4f475383
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4f475383
编写于
7月 07, 2002
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move CXX platform-specific stuff into template files.
上级
712f69ec
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
16 addition
and
14 deletion
+16
-14
configure
configure
+6
-6
configure.in
configure.in
+7
-7
src/template/freebsd
src/template/freebsd
+1
-1
src/template/osf
src/template/osf
+1
-0
src/template/unixware
src/template/unixware
+1
-0
未找到文件。
configure
浏览文件 @
4f475383
...
...
@@ -1916,6 +1916,10 @@ echo "$as_me: error: argument required for --with-CC option" >&2;}
fi
;
# Set here so it can be over-ridden in the template file
GCC_CXXFLAGS
=
"-O2"
VENDOR_CXXFLAGS
=
""
case
$template
in
aix
)
pgac_cc_list
=
"gcc xlc"
;;
irix
)
pgac_cc_list
=
"cc"
;;
# no gcc
...
...
@@ -4043,13 +4047,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
if
test
"
$ac_env_CXXFLAGS
"
!=
set
;
then
if
test
"
$GXX
"
=
yes
;
then
CXXFLAGS
=
-O2
CXXFLAGS
=
"
$GCC_CXXFLAGS
"
else
case
$template
in
osf
)
CXXFLAGS
=
'-O4 -Olimit 2000'
;;
unixware
)
CXXFLAGS
=
'-O'
;;
*
)
CXXFLAGS
=
;;
esac
CXXFLAGS
=
"
$VENDOR_CXXFLAGS
"
fi
fi
if
test
"
$enable_debug
"
=
yes
&&
test
"
$ac_cv_prog_cxx_g
"
=
yes
;
then
...
...
configure.in
浏览文件 @
4f475383
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.18
6 2002/05/28 16:57:53 petere
Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.18
7 2002/07/07 20:28:24 momjian
Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -243,6 +243,10 @@ AC_SUBST(enable_debug)
# variable.
PGAC_ARG_REQ(with, CC, [], [CC=$with_CC])
# Set here so it can be over-ridden in the template file
GCC_CXXFLAGS="-O2"
VENDOR_CXXFLAGS=""
case $template in
aix) pgac_cc_list="gcc xlc";;
irix) pgac_cc_list="cc";; # no gcc
...
...
@@ -593,13 +597,9 @@ PGAC_ARG_OPTARG(with, CXX, [ --with-CXX build C++ modules (libpq++
AC_PROG_CXX
if test "$ac_env_CXXFLAGS" != set; then
if test "$GXX" = yes; then
CXXFLAGS=
-O2
CXXFLAGS=
"$GCC_CXXFLAGS"
else
case $template in
osf) CXXFLAGS='-O4 -Olimit 2000' ;;
unixware) CXXFLAGS='-O' ;;
*) CXXFLAGS= ;;
esac
CXXFLAGS="$VENDOR_CXXFLAGS"
fi
fi
if test "$enable_debug" = yes && test "$ac_cv_prog_cxx_g" = yes; then
...
...
src/template/freebsd
浏览文件 @
4f475383
...
...
@@ -2,5 +2,5 @@ CFLAGS='-pipe'
case $host_cpu in
alpha*) CFLAGS="$CFLAGS -O";;
CXXFLAGS="$CXXFLAGS
-O"
GCC_CXXFLAGS="
-O"
esac
src/template/osf
浏览文件 @
4f475383
...
...
@@ -6,3 +6,4 @@ else
CFLAGS='-O4 -Olimit 2000'
CCC=cxx
fi
VENDOR_CXXFLAGS='-O4 -Olimit 2000'
src/template/unixware
浏览文件 @
4f475383
...
...
@@ -3,3 +3,4 @@ if test "$GCC" = yes; then
else
CFLAGS='-O -K inline'
fi
VENDOR_CXXFLAGS="-O"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录