Skip to content

Commit ff5916d

Browse files
committed
update
1 parent 1c11e00 commit ff5916d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

assets/environment/source/nginx/build_all.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 在存在 clang 和 gcc 的情况,因为GCC优化更好,所以需专门指定 gcc 和 g++ 作为解释器
2+
export CC=gcc
3+
export CXX=g++
4+
# 编译选项
15
./configure --prefix=/server/nginx \
26
--builddir=/home/nginx/nginx-1.28.0/build_nginx \
37

assets/environment/source/nginx/build_now.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 在存在 clang 和 gcc 的情况,因为GCC优化更好,所以需专门指定 gcc 和 g++ 作为解释器
2+
export CC=gcc
3+
export CXX=g++
4+
# 编译选项
15
./configure --prefix=/server/nginx \
26
--builddir=/home/nginx/nginx-1.28.0/build_nginx \
37
--without-select_module \

0 commit comments

Comments
 (0)